Options
All
  • Public
  • Public/Protected
  • All
Menu

This class configure multiple appenders with different log levels

Hierarchy

  • LoggerConfig

Index

Constructors

  • Creates LoggerConfig with loglevel

    example
    const loggerConfig = new LoggerConfig(LogLevel.TRACE);
    

    Parameters

    Returns LoggerConfig

Properties

appenders: LogAppender[] = []
level: LogLevel

Methods

  • example
    addAppender(ConsoleLogAppender);
    

    Parameters

    Returns void

  • Returns the multiple appenders in array

    example
    getAppenders();
    

    Returns LogAppender[]

    Multiple appenders in Array of object

  • Returns the log level

    example
    getLevel();
    

    Returns LogLevel

    Log Level

  • example
    setLevel(0);
    

    Parameters

    Returns void

Generated using TypeDoc