예제 #1
0
 public void WriteException(string cExpression, Exception ex)
 {
     if (LogMvc.Writer != null)
     {
         LogMvc.WriteException(cExpression, ex);
     }
 }
예제 #2
0
        public void Write(string text, params object[] args)
        {
            var writer = LogMvc.Writer == null ? null : LogMvc.Writer();

            if (writer != null)
            {
                writer.Write(String.Format(text, args));
                writer.Close();
            }
        }