webos/pmloglib

Provides a wrapper around PmLogLib logging API

import pmloglib from '@enact/webos/pmloglib';

Members

alertFunction

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

criticalFunction

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

debugFunction

debug( freeText )undefined

Logs with PmLogLib at the "debug" level.

1 Param
freeText String

Text string to log

Returns
undefined

emergencyFunction

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

errorFunction

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

infoFunction

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

noticeFunction

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

perfLogFunction

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

warningFunction

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
ArrayBooleanFunctionModuleNumberObjectString