Exemple #1
0
 public ConsoleExceptionMessageLogger(ConsoleFormattedMessageConfig config, IConsoleColorResetBehaviour colorResetBehaviour)
 {
     this.config = CtorGuard.NotNull(config, nameof(config));
     this.colorResetBehaviour = CtorGuard.NotNull(colorResetBehaviour, nameof(colorResetBehaviour));
 }
Exemple #2
0
 public FormattedMessageLogger(ConsoleFormattedMessageConfig config, IConsoleColorResetBehaviour colorResetBehaviour)
 {
     this.config = config ?? throw new ArgumentNullException(nameof(config));
     this.colorResetBehaviour = colorResetBehaviour;
 }