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
Methods
Error(string, params object[])
Error log messsages
void Error(string message, params object[] args)
Parameters
Info(string, params object[])
Informative log messages
void Info(string message, params object[] args)
Parameters
Trace(string, params object[])
Debug trace messeages used for debugging internal elements.
void Trace(string message, params object[] args)
Parameters
Warning(string, params object[])
Warning log messages
void Warning(string message, params object[] args)