Table of Contents

Class NullLoggerProperties

Namespace
Arc4u.Diagnostics
Assembly
Arc4u.Diagnostics.dll

The NullLoggerProperties is used when no properties are added to the log. It is a good practice to use this class when no properties are added to the log like in unit testing.

public class NullLoggerProperties : IAddPropertiesToLog
Inheritance
NullLoggerProperties
Implements
Inherited Members

Methods

GetProperties()

Gets the properties to add to the log entry being written.

public IDictionary<string, object> GetProperties()

Returns

IDictionary<string, object>

A dictionary of property names and values. Entries with a null value are ignored by the logger.