Skip to content

7763e0b3 1473 76fe df8f c255cb46b1d2

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

ILogger.Write Method (LogLevel, Exception)

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

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

Syntax

C#

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.

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

ILogger Interface
Write Overload
Plexdata.LogWriter.Abstraction Namespace

Clone this wiki locally