Codeunit 70623696 EOS004 Internal Logger
A IAppLogger implementation that logs messages to a temporary record.
procedure InitializeLogger(App: ModuleInfo; Category: Text; DiagnosticsKey: Text[64]; ServiceConfigCode: Code[20])
App ModuleInfo
Category Text[]
DiagnosticsKey Text[64]
ServiceConfigCode Code[20]
procedure LogMessage(EventId: Text; Message: Text;aVerbosity: Verbosity; aDataClassification: DataClassification; aScope: TelemetryScope;Payload: Dictionary of [Text, Text])
EventId Text[]
Message Text[]
aVerbosity Verbosity
aDataClassification DataClassification
aScope TelemetryScope
Payload Dictionary[Text,Text]
procedure Reset()
Resets the internal state of the logger, clearing all logged messages.
procedure GetInstance(var TempNewLogEntry: Record "EOS004 App Log Entry")
Returns all the messages that have been logged in the current session. This will not return a copy of the record, but will return the very instance.
TempNewLogEntry Record "EOS004 App Log Entry"
The log entry to be returned.
procedure GetAllowedServConfigTypes(): List of [Enum "EOS004 Service Config. Type"]
List[Enum]
procedure Flush(): Integer
Integer
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.