using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DiscordRPC.Logging { /// /// 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 { /// /// The level of logging to apply to this logger. /// LogLevel Level { get; set; } /// /// Debug trace messeages used for debugging internal elements. /// /// /// void Trace(string message, params object[] args); /// /// Informative log messages /// /// /// void Info(string message, params object[] args); /// /// Warning log messages /// /// /// void Warning(string message, params object[] args); /// /// Error log messsages /// /// /// void Error(string message, params object[] args); } }