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
messageIdString

Short string that uniquely identifies the log message within a component

keyValsObject

Key-value pairs to log

freeTextString

Text string to log

Returns
undefined
critical( messageId, keyVals, freeText )  undefined

Logs with PmLogLib at the "critical" level.

3 Params
messageIdString

Short string that uniquely identifies the log message within a component

keyValsObject

Key-value pairs to log

freeTextString

Text string to log

Returns
undefined
debug( freeText )  undefined

Logs with PmLogLib at the "debug" level.

1 Param
freeTextString

Text string to log

Returns
undefined
emergency( messageId, keyVals, freeText )  undefined

Logs with PmLogLib at the "emergency" level.

3 Params
messageIdString

Short string that uniquely identifies the log message within a component

keyValsObject

Key-value pairs to log

freeTextString

Text string to log

Returns
undefined
error( messageId, keyVals, freeText )  undefined

Logs with PmLogLib at the "error" level.

3 Params
messageIdString

Short string that uniquely identifies the log message within a component

keyValsObject

Key-value pairs to log

freeTextString

Text string to log

Returns
undefined
info( messageId, keyVals, freeText )  undefined

Logs with PmLogLib at the "info" level.

3 Params
messageIdString

Short string that uniquely identifies the log message within a component

keyValsObject

Key-value pairs to log

freeTextString

Text string to log

Returns
undefined
notice( messageId, keyVals, freeText )  undefined

Logs with PmLogLib at the "notice" level.

3 Params
messageIdString

Short string that uniquely identifies the log message within a component

keyValsObject

Key-value pairs to log

freeTextString

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
messageIdString

Short string that uniquely identifies the log message within a component.

perfTypeString

A string that identifies the type of perf message

perfGroupString

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
messageIdString

Short string that uniquely identifies the log message within a component

keyValsObject

Key-value pairs to log

freeTextString

Text string to log

Returns
undefined