View source code
Display the source code in std/experimental/logger/core.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Struct std.experimental.logger.core.Logger.LogEntry

LogEntry is a aggregation combining all information associated with a log message. This aggregation will be passed to the method writeLogMsg.

struct LogEntry ;

Fields

NameTypeDescription
file stringthe filename the log function was called from
funcName stringthe name of the function the log function was called from
line intthe line number the log function was called from
logger LoggerA refernce to the Logger used to create this LogEntry
logLevel LogLevelthe LogLevel associated with the log message
moduleName stringthe name of the module the log message is coming from
msg stringthe message of the log message
prettyFuncName stringthe pretty formatted name of the function the log function was called from
threadId Tidthread id of the log message
timestamp SysTimethe time the message was logged

Authors

License