private void ToLogstashLevelTests(LogLevel logLevel, LogstashLevel expectedLevel) { var converter = new LogLevelConverter(); var level = converter.ToLogStashLevel(logLevel); Assert.Equal(expectedLevel, level); }
public LogMessageBody(LogstashLevel level = Defaults.Message.Level) { Level = level; }
public LogMessage(LogstashLevel level = Defaults.Message.Level) { Header = new LogMessageHeader(); Body = new LogMessageBody(level); }