예제 #1
0
 public static LogField ErrorObject(this LogField logField, Exception exception)
 {
     return(logField.Set(LogFields.ErrorObject, exception.Message));
 }
예제 #2
0
 public static LogField ErrorKind(this LogField logField, string errorKind)
 {
     return(logField.Set(LogFields.ErrorKind, errorKind));
 }
예제 #3
0
 public static LogField Stack(this LogField logField, string stack)
 {
     return(logField.Set(LogFields.Stack, stack));
 }
예제 #4
0
 public static LogField Message(this LogField logField, string message)
 {
     return(logField.Set(LogFields.Message, message));
 }
예제 #5
0
 public static LogField EventError(this LogField logField)
 {
     return(logField.Set(LogFields.Event, LogFields.Error));
 }
예제 #6
0
 public static LogField Event(this LogField logField, string eventName)
 {
     return(logField.Set(LogFields.Event, eventName));
 }