Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AsyncLogger

Hierarchy

  • AsyncLogger

Implements

  • ILog

Index

Constructors

constructor

  • Parameters

    • tag: string

    Returns AsyncLogger

Properties

Private _logLevel

_logLevel: LogLevel

Private _tag

_tag: string

Static Private __fmAsyncLoggerInitialized

__fmAsyncLoggerInitialized: boolean = false

Methods

debug

  • debug(message: string): void
  • debug(message: string, ex: Exception): void
  • Parameters

    • message: string

    Returns void

  • Parameters

    • message: string
    • ex: Exception

    Returns void

Private doLog

  • doLog(level: LogLevel, msg: string, ex: Exception): void
  • Parameters

    • level: LogLevel
    • msg: string
    • ex: Exception

    Returns void

error

  • error(message: string): void
  • error(message: string, ex: Exception): void
  • Parameters

    • message: string

    Returns void

  • Parameters

    • message: string
    • ex: Exception

    Returns void

fatal

  • fatal(message: string): void
  • fatal(message: string, ex: Exception): void
  • Parameters

    • message: string

    Returns void

  • Parameters

    • message: string
    • ex: Exception

    Returns void

flush

  • flush(): void
  • Returns void

getIsDebugEnabled

  • getIsDebugEnabled(): boolean
  • Returns boolean

getIsErrorEnabled

  • getIsErrorEnabled(): boolean
  • Returns boolean

getIsFatalEnabled

  • getIsFatalEnabled(): boolean
  • Returns boolean

getIsInfoEnabled

  • getIsInfoEnabled(): boolean
  • Returns boolean

getIsVerboseEnabled

  • getIsVerboseEnabled(): boolean
  • Returns boolean

getIsWarnEnabled

  • getIsWarnEnabled(): boolean
  • Returns boolean

getLogLevel

  • getLogLevel(): LogLevel
  • Returns LogLevel

getTag

  • getTag(): string
  • Returns string

getTypeString

  • getTypeString(): string
  • Returns string

info

  • info(message: string): void
  • info(message: string, ex: Exception): void
  • Parameters

    • message: string

    Returns void

  • Parameters

    • message: string
    • ex: Exception

    Returns void

isLogEnabled

  • isLogEnabled(level: LogLevel): boolean
  • Parameters

    • level: LogLevel

    Returns boolean

log

  • log(message: string): void
  • Parameters

    • message: string

    Returns void

Private setLogLevel

  • setLogLevel(value: LogLevel): void
  • Parameters

    • value: LogLevel

    Returns void

Private setTag

  • setTag(value: string): void
  • Parameters

    • value: string

    Returns void

verbose

  • verbose(message: string): void
  • verbose(message: string, ex: Exception): void
  • Parameters

    • message: string

    Returns void

  • Parameters

    • message: string
    • ex: Exception

    Returns void

warn

  • warn(message: string): void
  • warn(message: string, ex: Exception): void
  • Parameters

    • message: string

    Returns void

  • Parameters

    • message: string
    • ex: Exception

    Returns void

Static fmAsyncLoggerInitialize

  • fmAsyncLoggerInitialize(): void
  • Returns void