webos/pmloglib
Provides a wrapper around PmLogLib logging API
Members
Section titled “Members ”alert Function
Section titled “alert   Function ”alert( messageId, keyVals, freeText ) → undefinedLogs with PmLogLib at the "alert" level.
3 Params
- messageId String
Short string that uniquely identifies the log message within a component
- keyVals Object
Key-value pairs to log
- freeText String
Text string to log
Returns
- undefined
critical Function
Section titled “critical   Function ”critical( messageId, keyVals, freeText ) → undefinedLogs with PmLogLib at the "critical" level.
3 Params
- messageId String
Short string that uniquely identifies the log message within a component
- keyVals Object
Key-value pairs to log
- freeText String
Text string to log
Returns
- undefined
debug Function
Section titled “debug   Function ”debug( freeText ) → undefinedLogs with PmLogLib at the "debug" level.
1 Param
- freeText String
Text string to log
Returns
- undefined
emergency Function
Section titled “emergency   Function ”emergency( messageId, keyVals, freeText ) → undefinedLogs with PmLogLib at the "emergency" level.
3 Params
- messageId String
Short string that uniquely identifies the log message within a component
- keyVals Object
Key-value pairs to log
- freeText String
Text string to log
Returns
- undefined
error Function
Section titled “error   Function ”error( messageId, keyVals, freeText ) → undefinedLogs with PmLogLib at the "error" level.
3 Params
- messageId String
Short string that uniquely identifies the log message within a component
- keyVals Object
Key-value pairs to log
- freeText String
Text string to log
Returns
- undefined
info Function
Section titled “info   Function ”info( messageId, keyVals, freeText ) → undefinedLogs with PmLogLib at the "info" level.
3 Params
- messageId String
Short string that uniquely identifies the log message within a component
- keyVals Object
Key-value pairs to log
- freeText String
Text string to log
Returns
- undefined
notice Function
Section titled “notice   Function ”notice( messageId, keyVals, freeText ) → undefinedLogs with PmLogLib at the "notice" level.
3 Params
- messageId String
Short string that uniquely identifies the log message within a component
- keyVals Object
Key-value pairs to log
- freeText String
Text string to log
Returns
- undefined
perfLog Function
Section titled “perfLog   Function ”perfLog( messageId, perfType, perfGroup ) → undefinedPlaces a time-stamped performance log entry into the system log using the PmLogInfoWithClock()
method.
3 Params
- messageId String
Short string that uniquely identifies the log message within a component.
- perfType String
A string that identifies the type of perf message
- perfGroup String
A string that identifies the group of the perf message
Returns
- undefined
warning Function
Section titled “warning   Function ”warning( messageId, keyVals, freeText ) → undefinedLogs with PmLogLib at the "warning" level.
3 Params
- messageId String
Short string that uniquely identifies the log message within a component
- keyVals Object
Key-value pairs to log
- freeText String
Text string to log
Returns
- undefined