예제 #1
0
 internal static void OnWriteLine(LoggerArgs e)
 {
     if (WriteLine != null && e.Level <= _logLevel)
     {
         WriteLine.Invoke(e.ToString());
     }
 }
예제 #2
0
        internal static void OnCustomLogging(LoggerArgs e)
        {
            CustomLogging?.Invoke(e);

            // Try sending it to the simpler WriteLine event
            OnWriteLine(e);
        }