Esempio n. 1
0
 /// <summary>
 /// Writes the given string as an error in the log
 /// </summary>
 /// <param name="output">String to be written log</param>
 /// <returns>True if the output could be written, false otherwise</returns>
 public void Error(string output)
 {
     LoggerImpl.Error(this.instance, output);
 }
Esempio n. 2
0
 /// <summary>
 /// Write the given error 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 Error(long total, long current, string output = null)
 {
     LoggerImpl.Error(instance, total, current, output);
 }
Esempio n. 3
0
 /// <summary>
 /// Writes the given exception as an error in the log
 /// </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 Error(Exception ex, string output = null)
 {
     LoggerImpl.Error(this.instance, ex, output);
 }