Esempio n. 1
0
        public void OnLogging(XmlBlasterLogLevel logLevel, string location, string message)
        {
            I_LoggingCallback l = this.loggingCallback;

            if (l != null)
            {
                l.OnLogging(logLevel, location, message);
            }
            else
            {
                Console.WriteLine(logLevel + " " + location + " " + message);
            }
        }
Esempio n. 2
0
 public void OnLogging(XmlBlasterLogLevel logLevel, string location, string message)
 {
     log(logLevel.ToString() + " " + location + ": " + message);
 }