Log.Unsubscribe

static void Unsubscribe(LogCallback onLog)

If you subscribed to the log callback, you can unsubscribe that callback here! This method can safely be called before initialization.

   
LogCallback onLog The subscribed callback to remove.

Examples

LogCallback onLog = (LogLevel level, string logText) 
	=> Console.WriteLine(logText);

Log.Subscribe(onLog);

Log.Unsubscribe(onLog);




Found an issue with these docs, or have some additional questions? Create an Issue on Github!