コード例 #1
0
 public LoggerMiddleware(AppFunc next, ILogSink logger, IEnvironmentFormatter formatter)
 {
     _next      = next;
     _logger    = logger;
     _formatter = formatter ?? new EnvironmentFormatter();
 }
コード例 #2
0
		public LoggerMiddleware(AppFunc next, ILogSink logger, IEnvironmentFormatter formatter)
		{
			_next = next;
			_logger = logger;
			_formatter = formatter ?? new EnvironmentFormatter();
		}