Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Logger

Hierarchy

  • Logger

Index

Constructors

constructor

Properties

Private DEBUG

DEBUG: boolean = false

Private LogFile

LogFile: LogMessage[] = []

Methods

Private _addLogItem

  • _addLogItem(type: TypeLog, message: string, logData: object | string, funcName?: undefined | string): void
  • Parameters

    • type: TypeLog
    • message: string
    • logData: object | string
    • Optional funcName: undefined | string

    Returns void

Private _printLog

error

  • error(message: string, logData: object | string, funcName?: undefined | string): void
  • Parameters

    • message: string
    • logData: object | string
    • Optional funcName: undefined | string

    Returns void

log

  • log(message: string, logData: object | string, funcName?: undefined | string): void
  • Parameters

    • message: string
    • logData: object | string
    • Optional funcName: undefined | string

    Returns void

saveLogToFile

  • saveLogToFile(): void

Generated using TypeDoc