Serilog – Simple .NET logging with fully-structured events
serilog.net
serilog.net
edit- for more info on what I mean: http://stackoverflow.com/questions/157911/in-a-net-exception...
http://programmers.stackexchange.com/questions/278949/why-do...
edit 2- I just read little bit more on this. Creating a memory dump of your process is one way to go - https://msdn.microsoft.com/en-us/library/d5zhxt22.aspx#BKMK_...
I'm of two minds about whether it's a good idea to do this, though. I have done it once in the past, out of frustration at trying to support a particularly failure-prone application, and can confirm it was a useful thing to do at the time. I haven't done it since, though, and eventually ripped it back out once I got the app wrestled back to a happy place. The problem is, it lets you get away with not thinking very hard about your application's failure modes. So my sense was that, over the long run, the cure is worse than the disease.
Serilog can scale without much effort with AWS Kinesis or AWS Dynamo. Now if only it was multi-platform...
http://blog.angelwebdesigns.com.au/structured-logging-with-s...
Which platforms are you working with now?
So, I want everything to be configured from config file and changed after program is compiled.
* Asynchronous wrapper for any log target with some parameters to tune if necessary. * Colorful output to console (separately to stdout and stderr). I can specify colors based on event properties using condition attribute. Using conditions applies to other log targets and other scenarios. * For file target I can specify various log archiving option, based on date, counter, rolling counter, etc. Paths can include references to special folders, process IDs, thread IDs, event event properties, etc., not only environment variables. * Did not find any concept of rules NLog has. I want to be able to freely map event parameters (name, level) to targets.
Again, I have no experience with Serilog, so I expect myself to be wrong and least partially.
Just on the topic of console output, you might enjoy the "literate console" - https://nblumhardt.com/2015/06/contender-for-nets-prettiest-... - for a different take on colored console output :-)
Cheers!