Codeunit 70623696 EOS004 Internal Logger
Codeunit 70623696 EOS004 Internal Logger
A IAppLogger implementation that logs messages to a temporary record.
Methods
InitializeLogger
procedure InitializeLogger(App: ModuleInfo; Category: Text; DiagnosticsKey: Text[64]; ServiceConfigCode: Code[20])
Parameters / Return Value
App
ModuleInfoCategory
Text[]DiagnosticsKey
Text[64]ServiceConfigCode
Code[20]
LogMessage
procedure LogMessage(EventId: Text; Message: Text;aVerbosity: Verbosity; aDataClassification: DataClassification; aScope: TelemetryScope;Payload: Dictionary of [Text, Text])
Parameters / Return Value
EventId
Text[]Message
Text[]aVerbosity
VerbosityaDataClassification
DataClassificationaScope
TelemetryScopePayload
Dictionary[Text,Text]
Reset
procedure Reset()
Resets the internal state of the logger, clearing all logged messages.
GetInstance
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.
Parameters / Return Value
TempNewLogEntry
Record "EOS004 App Log Entry"The log entry to be returned.
GetAllowedServConfigTypes
procedure GetAllowedServConfigTypes(): List of [Enum "EOS004 Service Config. Type"]
Parameters / Return Value
- Returns
List[Enum]
Flush
procedure Flush(): Integer
Parameters / Return Value
- Returns
Integer
Feedback
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.
EOS Labs -