<PackageReference Include="Relativity.Logging.Interfaces" Version="3000.1.2" />

NullLogger

public class NullLogger : ILog
Represents a No-Op implementation of the ILog interface.
public string Application { get; }

Returns empty string.

public bool IsEnabled { get; }

Returns false.

public string SubSystem { get; }

Returns empty string.

public string System { get; }

Returns empty string.

public NullLogger()

public ILog ForContext<T>()

No-Op.

public ILog ForContext(Type forContext)

No-Op.

public ILog ForContext(string propertyName, object value, bool destructureObjects)

No-Op.

public IDisposable LogContextPushProperty(string propertyName, object obj)

No-Op.

public void LogDebug(string messageTemplate, object[] propertyValues)

No-Op.

public void LogDebug(Exception exception, string messageTemplate, object[] propertyValues)

No-Op.

public void LogError(string messageTemplate, object[] propertyValues)

No-Op.

public void LogError(Exception exception, string messageTemplate, object[] propertyValues)

No-Op.

public void LogFatal(string messageTemplate, object[] propertyValues)

No-Op.

public void LogFatal(Exception exception, string messageTemplate, object[] propertyValues)

No-Op.

public void LogInformation(string messageTemplate, object[] propertyValues)

No-Op.

public void LogInformation(Exception exception, string messageTemplate, object[] propertyValues)

No-Op.

public void LogVerbose(string messageTemplate, object[] propertyValues)

No-Op.

public void LogVerbose(Exception exception, string messageTemplate, object[] propertyValues)

No-Op.

public void LogWarning(string messageTemplate, object[] propertyValues)

No-Op.

public void LogWarning(Exception exception, string messageTemplate, object[] propertyValues)

No-Op.