Skip to main content

Error Logging

LMSeverity

The LMSeverity enum represents different levels of log severity.

ValueNameDescription
0INFOGeneral information logs.
1DEBUGDebugging logs for developers.
2NOTICEImportant notices but not warnings.
3WARNINGIndicates potential issues.
4ERRORRepresents application errors.
5CRITICALCritical issues requiring attention.
6ALERTImmediate attention needed.
7EMERGENCYSystem-wide failure.
8DEFAULTDefault severity level.

LMSDKMeta

The LMSDKMeta object contains metadata related to the SDK, including version details.

PropertyTypeDescription
coreVersionstringThe core version of the SDK.
dataLayerVersionstringThe data layer version of the SDK.

LMStackTrace

The LMStackTrace object holds details about an error, including the exception message and stack trace.

PropertyTypeDescription
exceptionstringThe error message.
tracestringThe stack trace of the error.