IJsonLogFormatter

Name Value
Assembly Catel.Core
Namespace Catel.Logging
Available on .NET Framework 4.5, .NET Framework 4.6
public interface IJsonLogFormatter

The formatter which formats all log info to Json.

Methods

FormatLogEvent(ILog log, string message, LogEvent logEvent, DateTime time)

Formats the log infos.

Parameters

Name Description
log
message
logEvent
time

Returns

Exceptions

Name Description
ArgumentNullException The log isnull.
ArgumentException The message isnull or whitespace.

Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion