Ejemplo n.º 1
0
 public void WriteException(string cExpression, Exception ex)
 {
     if (LogMvc.Writer != null)
     {
         LogMvc.WriteException(cExpression, ex);
     }
 }
Ejemplo n.º 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();
            }
        }