Class: Logger

Logger

new Logger()

Logger class
Source:

Members

<static, constant> LEVELS :string

Log level
Type:
  • string
Source:

Methods

<private> _exclude()

Exclude category forward match
Source:

debug()

debug output method
Source:

error()

error output method
Source:

info()

info output method
Source:

initialize(category, config)

Logger constructor
Parameters:
Name Type Description
category String
config JSON config data
Source:

output(level, _arguments) → {String}

Generates a log record.
Parameters:
Name Type Description
level String log level
_arguments Array log datas
Source:
Returns:
Type
String

trace()

trace method
Source:

warn()

warn output method
Source: