Flush | Overloaded. Flush any pending log messages (in case of asynchronous targets). |
GetLayouts | Gets the collection of Layout objects that are used by this target. |
Initialize | Initializes the target. Can be used by inheriting classes to initialize logging. |
PopulateLayouts | Adds all layouts used by this target to the specified collection. |
PrecalculateVolatileLayouts | Calls the Precalculate on each volatile layout used by this target. |
ToString | Returns the text representation of the object. Used for diagnostics. |
Target Constructor
|
Creates a new instance of the logging target and initializes default layout. |
CompiledLayout | The compiled layout to be rendered. |
InvalidateLayouts | Invalidates the collection of layouts cached by GetLayouts. |
Close | Closes the target and releases any unmanaged resources. |
NeedsStackTrace | Determines whether stack trace information should be gathered during log event processing. By default it calls NeedsStackTrace on the result of GetLayouts. |
Write | Overloaded. Writes logging event to the log target. Must be overridden in inheriting classes. |