Here are the examples of the csharp api class Gelf4NLog.ConsoleRunner.Program.GetNextComic() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
View licensestatic void Main() { while (true) { var comic = GetNextComic(); var eventInfo = new LogEventInfo { Message = comic.Title, Level = LogLevel.Info, }; eventInfo.Properties.Add("Publisher", comic.Publisher); eventInfo.Properties.Add("ReleaseDate", comic.ReleaseDate); Logger.Log(eventInfo); Thread.Sleep(1000); } }