Exemple #1
0
 public void WriteLog(string line, Connection connection = null)
 {
     Logger?.Info($"{(connection == null ? Connection.GetAuditTimestamp() : Connection.GetIdent(connection))}\t{line}");
 }
Exemple #2
0
 public void WriteLog(string line, Connection connection = null)
 {
     Console.WriteLine("{0}\t{1}", connection == null ? Connection.GetAuditTimestamp() : Connection.GetIdent(connection), line);
 }