Implements

Constructors

Properties

identifier: string = "DiagnosticLogger"
queue: _InternalLogMessage[] = []

The internal logging queue

Methods

  • This method will throw exceptions in debug mode or attempt to log the error as a console warning.

    Parameters

    • severity: number

      {LoggingSeverity} - The severity of the log message

    • msgId: number
    • msg: string
    • Optionalproperties: Object
    • isUserAct: boolean = false

    Returns void

  • Unload and remove any state that this IDiagnosticLogger may be holding, this is generally called when the owning SDK is being unloaded.

    Parameters

    • OptionalisAsync: boolean

      Can the unload be performed asynchronously (default)

    Returns void | IPromise<void>

    If the unload occurs synchronously then nothing should be returned, if happening asynchronously then the function should return an IPromise / Promise to allow any listeners to wait for the operation to complete.