Stormancer.Diagnostics.NullLogger Class Reference

A logger implementation that does nothing. More...

Inherits Stormancer.Diagnostics.ILogger.

Public Member Functions

void Log (LogLevel level, string category, string message, object data)
 Writes a log entry More...
 

Properties

static ILogger Instance [get]
 Retrieves a NullLogger instance More...
 

Detailed Description

A logger implementation that does nothing.

Member Function Documentation

◆ Log()

void Stormancer.Diagnostics.NullLogger.Log ( LogLevel  level,
string  category,
string  message,
object  data 
)

Writes a log entry

Parameters
level
category
message
data

Implements Stormancer.Diagnostics.ILogger.

Property Documentation

◆ Instance

ILogger Stormancer.Diagnostics.NullLogger.Instance
staticget

Retrieves a NullLogger instance


The documentation for this class was generated from the following file:
  • Stormancer.Core/ILogger.cs