Represents the logging event.
Inheritance Hierarchy Namespace: NLogNLog (in NLog.dll) Version: 4.7.0+4d138800820311d0b60b6437f1dd2ed1d571d47d
Syntaxpublic class LogEventInfo
Public Class LogEventInfo Dim instance As LogEventInfo
type LogEventInfo = class end
The LogEventInfo type exposes the following members.
Constructors Name Description LogEventInfoInitializes a new instance of the LogEventInfo class.
LogEventInfo(LogLevel, String, String)Initializes a new instance of the LogEventInfo class.
LogEventInfo(LogLevel, String, String, IListMessageTemplateParameter)Initializes a new instance of the LogEventInfo class.
LogEventInfo(LogLevel, String, IFormatProvider, String, Object)Initializes a new instance of the LogEventInfo class.
LogEventInfo(LogLevel, String, IFormatProvider, String, Object, Exception)Initializes a new instance of the LogEventInfo class.
Top Properties Name Description CallerClassNameGets the callsite class name
CallerFilePathGets the callsite source file path
CallerLineNumberGets the callsite source file line number
CallerMemberNameGets the callsite member function name
Context Obsolete.Gets the dictionary of per-event context properties.
ExceptionGets or sets the exception information.
FormatProviderGets or sets the format provider that was provided while logging or when no formatProvider was specified.
FormattedMessageGets the formatted message.
HasPropertiesChecks if any per-event properties (Without allocation)
HasStackTraceGets a value indicating whether stack trace has been set for this event.
LevelGets or sets the level of the logging event.
LoggerNameGets or sets the logger name.
LoggerShortName Obsolete.Gets the logger short name.
MessageGets or sets the log message including any parameter placeholders.
MessageFormatterGets or sets the message formatter for generating
FormattedMessageUses string.Format(...) when nothing else has been configured.
MessageTemplateParametersGets the named parameters extracted from parsing
Messageas MessageTemplate
ParametersGets or sets the parameter values or null if no parameters have been specified.
PropertiesGets the dictionary of per-event context properties.
SequenceIDGets the unique identifier of log event which is automatically generated and monotonously increasing.
StackTraceGets the entire stack trace.
TimeStampGets or sets the timestamp of the logging event.
UserStackFrameGets the stack frame of the method that did the logging.
UserStackFrameNumberGets the number index of the stack frame that represents the user code (not the NLog code).
Top Methods Name Description Create(LogLevel, String, String)Creates the log event.
Create(LogLevel, String, IFormatProvider, Object)Creates the log event.
Create(LogLevel, String, String, Exception) Obsolete.Creates the log event.
Create(LogLevel, String, Exception, IFormatProvider, String)Creates the log event.
Create(LogLevel, String, IFormatProvider, String, Object)Creates the log event.
Create(LogLevel, String, Exception, IFormatProvider, String, Object)Creates the log event.
CreateNullEventCreates the null event.
SetCallerInfoSets the details retrieved from the Caller Information Attributes
SetStackTraceSets the stack trace for the event info.
ToStringReturns a string representation of this log event.
(Overrides ObjectToString.) WithContinuationCreates
AsyncLogEventInfofrom this
LogEventInfoby attaching the specified asynchronous continuation.
Top Fields Name Description ZeroDateGets the date of the first log event created.
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4