Table of Contents

Interface ILogger

Namespace
DiscordRPC.Logging
Assembly
DiscordRPC.dll

Logging interface to log the internal states of the pipe. Logs are sent in a NON thread safe way. They can come from multiple threads and it is upto the ILogger to account for it.

public interface ILogger

Properties

Level

The level of logging to apply to this logger.

LogLevel Level { get; set; }

Property Value

LogLevel

Methods

Error(string, params object[])

Error log messsages

void Error(string message, params object[] args)

Parameters

message string
args object[]

Info(string, params object[])

Informative log messages

void Info(string message, params object[] args)

Parameters

message string
args object[]

Trace(string, params object[])

Debug trace messeages used for debugging internal elements.

void Trace(string message, params object[] args)

Parameters

message string
args object[]

Warning(string, params object[])

Warning log messages

void Warning(string message, params object[] args)

Parameters

message string
args object[]