Ejemplo n.º 1
0
 public static IAssimilate AddRollingFileLogger <TLog>(this IAssimilate assimilate,
                                                       Action <RollingConfiguration> configure)
 {
     assimilate.Configure <TLog, RollingConfiguration, RollingFileAppender>(configure);
     return(assimilate);
 }
Ejemplo n.º 2
0
 public static IAssimilate AddColorConsoleLogger <TLog>(this IAssimilate assimilate,
                                                        Action <ColorConsoleConfigurator> configure)
 {
     assimilate.Configure <TLog, ColorConsoleConfigurator, ColoredConsoleAppender>(configure);
     return(assimilate);
 }
Ejemplo n.º 3
0
 public static IAssimilate AddFileLogger <TLog>(this IAssimilate assimilate, Action <FileConfigurator> configure)
 {
     assimilate.Configure <TLog, FileConfigurator, FileAppender>(configure);
     return(assimilate);
 }