We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I create the logger
Log.Logger = new LoggerConfiguration() .WriteTo.RichTextBox( richTextBoxControl: richTextBox1, minimumLogEventLevel: LogEventLevel.Verbose, outputTemplate: outputTemplate,//"[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}", theme: ThemePresets.Dark, messageBatchSize: 100, messagePendingInterval: 10, autoScroll: true, maxLogLines: 1000) .CreateLogger();
It works fine but I see INF log records only. What I have set wrong? How to set the level to see all log records? Thanx.
The text was updated successfully, but these errors were encountered:
I'm not sure why that happens, I haven't found a solution yet. However, I got it to work with the following workaround:
Log.Logger = new LoggerConfiguration() .MinimumLevel.Verbose() .WriteTo.RichTextBox( richTextBoxControl: richTextBox1, outputTemplate: outputTemplate, //"[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}", theme: ThemePresets.Dark, messageBatchSize: 100, messagePendingInterval: 10, autoScroll: true, maxLogLines: 1000) .CreateLogger();
Basically adding:
.MinimumLevel.Verbose()
If you (or anyone else reading this) finds a better solution, please let me know. I don't have much time to dig into this right now.
Sorry, something went wrong.
No branches or pull requests
I create the logger
It works fine but I see INF log records only.
What I have set wrong?
How to set the level to see all log records?
Thanx.
The text was updated successfully, but these errors were encountered: