/// <summary> /// Log 任意变量 /// </summary> /// <param name="obj"></param> public void WriteLine(object obj) { LogCompletedEvent?.Invoke(loggerBase?.Process(obj)); }
/// <summary> /// Log 一行字符串 /// </summary> /// <param name="str"></param> public void WriteLine(string str) { LogCompletedEvent?.Invoke(loggerBase?.Process(str)); }
/// <summary> /// Log Exception 对象 /// </summary> /// <param name="e"></param> public void WriteLine(Exception e) { LogCompletedEvent?.Invoke(loggerBase?.Process(e)); }