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

ILog

public interface ILog
Provides a mechanism for Logging.
string Application { get; }

bool IsEnabled { get; }

string SubSystem { get; }

string System { get; }

Create a logger that marks log events as being from the specified source type.

ILog ForContext(Type forContext)

Create a logger that marks log events as being from the specified source type.

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

Create a logger that enriches log events with the specified property.

IDisposable LogContextPushProperty(string propertyName, object obj)

Push a property onto the context, returning an IDisposable that must later be used to remove the property, along with any others that may have been pushed on top of it and not yet popped. The property must be popped from the same thread/logical call context.

void LogDebug(string messageTemplate, object[] propertyValues)

Logs a message at the debug log level.

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

Logs a message at the debug log level.

void LogError(string messageTemplate, object[] propertyValues)

Logs a message at the error log level.

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

Logs a message at the error log level.

void LogFatal(string messageTemplate, object[] propertyValues)

Logs a message at the fatal log level.

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

Logs a message at the fatal log level.

void LogInformation(string messageTemplate, object[] propertyValues)

Logs a message at the information log level.

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

Logs a message at the information log level.

void LogVerbose(string messageTemplate, object[] propertyValues)

Logs a message at the verbose log level.

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

Logs a message at the verbose log level.

void LogWarning(string messageTemplate, object[] propertyValues)

Logs a message at the warning log level.

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

Logs a message at the warning log level.