示例#1
0
 /// <summary>
 /// Write the given string as a user message to the log output
 /// </summary>
 /// <param name="output">String to be written log</param>
 /// <returns>True if the output could be written, false otherwise</returns>
 public void User(string output)
 {
     LoggerImpl.User(this.instance, output);
 }
示例#2
0
 /// <summary>
 /// Write the given user progress message to the log output
 /// </summary>
 /// <param name="total">Total count for progress</param>
 /// <param name="current">Current count for progres</param>
 /// <param name="output">String to be written log</param>
 public void User(long total, long current, string output = null)
 {
     LoggerImpl.User(instance, total, current, output);
 }
示例#3
0
 /// <summary>
 /// Write the given exception as a user message to the log output
 /// </summary>
 /// <param name="ex">Exception to be written log</param>
 /// <param name="output">String to be written log</param>
 /// <returns>True if the output could be written, false otherwise</returns>
 public void User(Exception ex, string output = null)
 {
     LoggerImpl.User(this.instance, ex, output);
 }