SimpleLogger.SimpleLog.Error C# (CSharp) Method

Error() public static method

Write error message to log
public static Error ( string message, bool useBackgroundTask = true ) : Exception
message string The message to write to the log
useBackgroundTask bool Whether to use the background task (thread) to write messages to disk. Default is true. This is much faster than writing directly to disk in the main thread.
return System.Exception
        public static Exception Error(string message, bool useBackgroundTask = true)
        {
            return Log(message, Severity.Error);
        }