Ejemplo n.º 1
0
 public GrandOutputConfigurationInitializer(GrandOutput target)
 {
     if (target == null)
     {
         _isDefaultGrandOutput = true;
         target = GrandOutput.EnsureActiveDefault(new GrandOutputConfiguration());
     }
     _target         = target;
     _loggerProvider = new AspNetLoggerProvider(_target);
 }
Ejemplo n.º 2
0
 public AspNetLogger(AspNetLoggerProvider provider, string categoryName, GrandOutput output)
 {
     _categoryName = categoryName ?? String.Empty;
     _output       = output;
     _provider     = provider;
 }