public virtual void Log(Level loggingLevel, string method, object[] args)
        {
            IList throwables = TranslateArguments(args);

            @out.Println(FormatLine(Platform4.Now(), loggingLevel, method, args));
            if (throwables != null)
            {
                for (IEnumerator tIter = throwables.GetEnumerator(); tIter.MoveNext();)
                {
                    Exception t = ((Exception)tIter.Current);
                    Platform4.PrintStackTrace(t, @out);
                }
            }
        }
Beispiel #2
0
 public static string Now()
 {
     return(Platform4.Format(Platform4.Now(), true));
 }