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
An minimal example configuration is as follows:
{ "Serilog": { "WriteTo": [ { "Name": "Async", "Args": { "BufferSize": 512, "Configure": [ { "Name": "Console", "Args": { "outputTemplate": "[{Timestamp:HH:mm:ss.fff} {Level:u3}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}" } }, { "Name": "Debug", "Args": { "outputTemplate": "[{Timestamp:HH:mm:ss.fff} {Level:u3}] {Message:lj} <s:{SourceContext}>{NewLine}{Exception}" } } ] } } ] } }
I want to disable Console Sink when Environment.UserInteractive=false,How should it be configured?
Environment.UserInteractive=false
thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
An minimal example configuration is as follows:
I want to disable Console Sink when
Environment.UserInteractive=false
,How should it be configured?thanks
The text was updated successfully, but these errors were encountered: