public override void ActivateOptions() { base.ActivateOptions(); _formatter = _formatter ?? (_config.UseRawFormatter ? (ILogglyFormatter) new RawLogglyFormatter(_config) : new LogglyFormatter(_config)); _client = new LogglyClient(_config); _buffer = _buffer ?? new LogglyAsyncBuffer(_config, _client); }
internal LogglyAppender(Config config, ILogglyFormatter formatter, ILogglyAsyncBuffer buffer) : this() { _config = config; _formatter = formatter; _buffer = buffer; }