public GelfAdapter(GelfLogLevelMapper gelfLogLevelMapper) : this(gelfLogLevelMapper, new List <IGelfMessageFormatter> { new StringGelfMessageFormatter(), ExceptionMessageFormatter, new DictionaryGelfMessageFormatter(), new GenericObjectGelfMessageFormatter(), }) { }
public GelfAdapter(GelfLogLevelMapper gelfLogLevelMapper, IList <IGelfMessageFormatter> messageObjectFormatters) { this.gelfLogLevelMapper = gelfLogLevelMapper; this.messageObjectFormatters = messageObjectFormatters; }