Skip to content
Enact

webos/pmloglib

Provides a wrapper around PmLogLib logging API

alert( messageId, keyVals, freeText ) → undefined

Logs 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( messageId, keyVals, freeText ) → undefined

Logs 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( freeText ) → undefined

Logs with PmLogLib at the "debug" level.

1 Param
freeText String

Text string to log

Returns
 undefined
emergency( messageId, keyVals, freeText ) → undefined

Logs 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( messageId, keyVals, freeText ) → undefined

Logs 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( messageId, keyVals, freeText ) → undefined

Logs 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( messageId, keyVals, freeText ) → undefined

Logs 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( messageId, perfType, perfGroup ) → undefined

Places 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( messageId, keyVals, freeText ) → undefined

Logs 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