Пример #1
0
 static public void Warn(string format, params object[] args)
 {
     if (NetMath.IsSet(enabled, WARN))
     {
         Write(WARN, String.Format(format, args));
     }
 }
Пример #2
0
 static public void Info(string format, params object[] args)
 {
     if (NetMath.IsSet(enabled, INFO))
     {
         Write(INFO, String.Format(format, args));
     }
 }
Пример #3
0
        static public void Debug(string format, params object[] args)
        {
#if DEBUG
            if (NetMath.IsSet(enabled, DEBUG))
            {
                Write(DEBUG, String.Format(format, args));
            }
#endif
        }
Пример #4
0
        static public void Trace(string format, params object[] args)
        {
#if TRACE
            if (NetMath.IsSet(enabled, TRACE))
            {
                Write(TRACE, String.Format(format, args));
            }
#endif
        }