Custom Layouts Based on Log Level
Is it possible to create custom layouts based on the log level? For instance, I want my Error messages to output stack traces but I don't want my Trace or Info messages to display that much. I am only using one log file. It looks like the only solution is to create multiple targets and log different levels to different files. Am I missing something?
|