예제 #1
0
 public Log(string message, string location, LogNature logNature, Env allowLogEnv)
 {
     Message     = message;
     Location    = location;
     AllowLogEnv = allowLogEnv;
     LogNature   = logNature;
 }
 public void Log(Exception exception, LogNature logNature, string text)
 {
     this.Add(new Log(exception, logNature, text));
 }
 public void Log(Exception exception, LogNature logNature)
 {
     this.Log(exception, logNature, null);
 }
 public void Log(string text, string location, LogNature messageNature, Env allowLogEnv)
 {
     this.Add(new Log(text, location, messageNature, allowLogEnv));
 }
 public void Log(string text, string location, LogNature messageNature)
 {
     this.Log(text, location, messageNature, Env.ALL);
 }
예제 #6
0
 public Log(Exception exception, LogNature logNature, string message) : this(message, exception.StackTrace, logNature, Env.ALL)
 {
     Exception = exception;
 }
예제 #7
0
 public Log(string message, string location, LogNature logNature) : this(message, location, logNature, Env.ALL)
 {
 }