Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Logger

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

Properties

Protected log_dir

log_dir: string

Protected logger

logger: any

Protected options

Methods

Protected consoleFormatter

  • consoleFormatter(options: any): string

Protected createLogger

  • createLogger(): void

Protected getEntry

  • getEntry(entry: Object, actor?: any, instances?: Array<any>): Object

log

  • log(type: number, message: string, actor?: any, instances?: any): void
  • Create a log entry. Used for log files and console reporting.

    Parameters

    • type: number
    • message: string
    • Optional actor: any
    • Optional instances: any

    Returns void

Object literals

Protected log_types

log_types: object

0

0: string = "debug"

1

1: string = "info"

2

2: string = "warning"

3

3: string = "error"

Generated using TypeDoc