new LoggerPack()
Packs a set of loggers into one
Extends
Methods
-
alert(message, data, channel)
-
Parameters:
Name Type Default Description message
string data
any null channel
string - Inherited From:
-
canLog(severity)
-
Parameters:
Name Type Description severity
Severity - Inherited From:
Returns:
boolean -
critical(message, data, channel)
-
Parameters:
Name Type Default Description message
string data
any null channel
string - Inherited From:
-
debug(message, data, channel)
-
Parameters:
Name Type Default Description message
string data
any null channel
string - Inherited From:
-
emergency(message, data, channel)
-
Parameters:
Name Type Default Description message
string data
any null channel
string - Inherited From:
-
error(message, data, channel)
-
Parameters:
Name Type Default Description message
string data
any null channel
string - Inherited From:
-
getChannel()
-
- Inherited From:
Returns:
- Type
- string
-
getLevel()
-
- Inherited From:
Returns:
number -
getUser()
-
- Inherited From:
Returns:
- Type
- string
-
info(message, data, channel)
-
Parameters:
Name Type Default Description message
string data
any null channel
string - Inherited From:
-
isEnabled()
-
- Inherited From:
Returns:
enabled- Type
- boolean
-
log(string, mixed, int, string)
-
Parameters:
Name Type Description string
message mixed
data int
severity , standard RFC3164 code (https://tools.ietf.org/html/rfc3164) string
channel - Overrides:
-
notice(message, data, channel)
-
Parameters:
Name Type Default Description message
string data
any null channel
string - Inherited From:
-
setChannel(channel)
-
Parameters:
Name Type Description channel
string - Inherited From:
-
setColor({Boolean})
-
Parameters:
Name Type Description {Boolean}
val - Inherited From:
-
setEnabled(enabled)
-
Parameters:
Name Type Description enabled
boolean - Inherited From:
-
setFormatter(formatter)
-
Parameters:
Name Type Description formatter
Formatter - Inherited From:
-
setLevel(level)
-
Parameters:
Name Type Description level
number - Inherited From:
-
setUser(user)
-
Parameters:
Name Type Description user
string - Inherited From:
-
showLineNumbers(show)
-
Parameters:
Name Type Description show
boolean - Inherited From:
-
warning(message, data, channel)
-
Parameters:
Name Type Default Description message
string data
any null channel
string - Inherited From: