⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Log.Unsubscribe

static void Unsubscribe(LogCallback onLog)

If you subscribed to the log callback, you can unsubscribe that callback here!

   
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!