Exemple #1
0
 /// <summary>
 /// Adds to the default printer pool that all printers inherit from. Printers added this way will be passed every message from every logger.
 /// </summary>
 /// <param name="printer">the printer to add</param>
 internal static void AddDefaultPrinter(LogPrinter printer)
 {
     defaultPrinters.Add(printer);
 }
Exemple #2
0
 /// <summary>
 /// Adds a log printer to the logger.
 /// </summary>
 /// <param name="printer">the printer to add</param>
 public void AddPrinter(LogPrinter printer)
 {
     printers.Add(printer);
 }