Skip to content

8477d477 7c19 e413 b938 9c46c774e68e

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

PersistentLogger(TContext).Write Method (LogLevel, String)

This method writes the message 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,
	string message
)

Parameters

 

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

Implements

ILogger.Write(LogLevel, String)

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 message is null, empty or consists only of whitespaces.

See Also

Reference

PersistentLogger(TContext) Class
Write Overload
Plexdata.LogWriter.Logging Namespace

Clone this wiki locally