new LoggerClass(config)
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | logger configuration |
- Source:
Methods
-
addAppender(appender)
-
add appender to logger
Parameters:
Name Type Description appender
Object - Source:
-
debug(message, group)
-
add debug log entry
Parameters:
Name Type Argument Description message
string log message
group
string <optional>
log group name
- Source:
-
error(message, group)
-
add error log entry
Parameters:
Name Type Argument Description message
string log message
group
string <optional>
log group name
- Source:
-
format(message, group, log)
-
format log entry
Parameters:
Name Type Description message
string log message
group
string group/category for the entry
log
WinJSContrib.Logging.Levels level
- Source:
-
getChildLogger(name, level)
-
Get a child logger
Parameters:
Name Type Description name
string child logger name
level
WinJSContrib.Logging.Levels - Source:
-
group(title)
-
create a log group
Parameters:
Name Type Description title
string group title
- Source:
-
groupCollapsed(title)
-
create a collapsed log group
Parameters:
Name Type Description title
string group title
- Source:
-
groupEnd()
-
end current group
- Source:
-
info(message, group)
-
add info log entry
Parameters:
Name Type Argument Description message
string log message
group
string <optional>
log group name
- Source:
-
log(message, group, log)
-
Add log entry
Parameters:
Name Type Description message
string log message
group
string group/category for the entry
log
WinJSContrib.Logging.Levels level
- Source:
-
warn(message, group)
-
add warn log entry
Parameters:
Name Type Argument Description message
string log message
group
string <optional>
log group name
- Source: