webos/pmloglib

Provides a wrapper around PmLogLib logging API

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

Members

alertFunction

alert(messageId, keyVals, freeText)

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

criticalFunction

critical(messageId, keyVals, freeText)

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

debugFunction

debug(freeText)

Logs with PmLogLib at the "debug" level.

1 Param
freeText String

Text string to log

emergencyFunction

emergency(messageId, keyVals, freeText)

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

errorFunction

error(messageId, keyVals, freeText)

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

infoFunction

info(messageId, keyVals, freeText)

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

noticeFunction

notice(messageId, keyVals, freeText)

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

perfLogFunction

perfLog(messageId, perfType, perfGroup)

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

warningFunction

warning(messageId, keyVals, freeText)

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

ArrayBooleanFunctionModuleNumberObjectString