Skip to content

9eeb505f 4ade 959d e4b5 cb11b3870ec6

Axel Kesseler edited this page Mar 1, 2023 · 14 revisions

PersistentLogger.Write Method (LogLevel, Exception)

This method writes the exception into the logging target using provided logging level.

Namespace: Plexdata.LogWriter.Logging
Assembly: Plexdata.LogWriter.Persistent (in Plexdata.LogWriter.Persistent.dll) Version: 1.0.7.1

Syntax

C#

public void Write(
	LogLevel level,
	Exception exception
)

Parameters

 

level
Type: Plexdata.LogWriter.Definitions.LogLevel
The logging level to be used to tag the written logging data.
exception
Type: System.Exception
The exception to be written.

Implements

ILogger.Write(LogLevel, Exception)

Remarks

This method performs the actual writing of logging data into the logging target using a particular logging level. Be aware, nothing will happen if exception is null.

See Also

Reference

PersistentLogger Class
Write Overload
Plexdata.LogWriter.Logging Namespace

Clone this wiki locally