Global

Members


<constant> ALERT


<constant> CRITICAL


<constant> DEBUG


<constant> EMERGENCY


<constant> ERROR


<constant> INFO


<constant> NOTICE


<constant> WARNING

Methods


debug(name, value, data)

Parameters:
Name Type Description
name *
value *
data *

getLogger(options)

Parameters:
Name Type Description
options Object
Properties
Name Type Description
level? number
port? number
host? string
color? boolean
lineNumbers? boolean
filepath? string
formatter? string
pipes? Array.<string>
Returns:
Type
ConsoleLogger | FileLogger | RemoteLogger

join(loggers, options)

Parameters:
Name Type Description
loggers Array.<Logger>
options Object
Properties
Name Type Description
level number
filepath? string
filepaths? Array.<string>
Returns:
LoggerPack
Type
LoggerPack

splitAndJoin(str, delRegexp, transform)

Function that splits a string by a set of delimiters performs a trasformaton and joins by the same delimiter
Parameters:
Name Type Description
str String
delRegexp RegExp - Regular expersion to determine the delimiters
transform Function

warAction(name, value, data)

Parameters:
Name Type Description
name *
value *
data *