CallSiteLayoutRenderer Class |
Namespace: NLog.LayoutRenderers
The CallSiteLayoutRenderer type exposes the following members.
Name | Description | |
---|---|---|
CallSiteLayoutRenderer | Initializes a new instance of the CallSiteLayoutRenderer class |
Name | Description | |
---|---|---|
CaptureStackTrace |
Logger should capture StackTrace, if it was not provided manually
| |
ClassName |
Gets or sets a value indicating whether to render the class name.
| |
CleanNamesOfAnonymousDelegates |
Gets or sets a value indicating whether the method name will be cleaned up if it is detected as an anonymous delegate.
| |
CleanNamesOfAsyncContinuations |
Gets or sets a value indicating whether the method and class names will be cleaned up if it is detected as an async continuation
(everything after an await-statement inside of an async method).
| |
FileName |
Gets or sets a value indicating whether to render the source file name and line number.
| |
IncludeNamespace |
Gets or sets a value indicating whether to render the include the namespace with ClassName.
| |
IncludeSourcePath |
Gets or sets a value indicating whether to include source file path.
| |
LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.) | |
MethodName |
Gets or sets a value indicating whether to render the method name.
| |
SkipFrames |
Gets or sets the number of frames to skip.
| |
ValueFormatter |
Value formatter
(Inherited from LayoutRenderer.) |
Name | Description | |
---|---|---|
Append |
Renders the value of layout renderer in the context of the specified log event into StringBuilder.
(Overrides LayoutRendererAppend(StringBuilder, LogEventInfo).) | |
CloseLayoutRenderer |
Closes the layout renderer.
(Inherited from LayoutRenderer.) | |
GetCulture |
Get the CultureInfo for rendering the messages to a String (Inherited from LayoutRenderer.) | |
GetFormatProvider |
Get the IFormatProvider for rendering the messages to a String (Inherited from LayoutRenderer.) | |
InitializeLayoutRenderer |
Initializes the layout renderer.
(Inherited from LayoutRenderer.) | |
Render |
Renders the value of layout renderer in the context of the specified log event.
(Inherited from LayoutRenderer.) | |
ResolveServiceT |
Resolves the interface service-type from the service-repository
(Inherited from LayoutRenderer.) | |
ToString | Returns a string that represents the current object. (Inherited from LayoutRenderer.) |