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
When i write my logs to the file flodler ,how can i use this project to show my logs ui
The text was updated successfully, but these errors were encountered:
Unfortunately, we have no data provider for Serilog.Sinks.File. I will start initial work to see how it can be implemented (duplicate of #72).
Serilog.Sinks.File
What is your RollingInterval for creating log files?
RollingInterval
Sorry, something went wrong.
Serilog.Debugging.SelfLog.Enable(msg => Console.Error.WriteLine(msg)); //#if DEBUG Log.Logger = new LoggerConfiguration()
#if DEBUG //Information() .MinimumLevel.Information() #else .MinimumLevel.Warning() #endif .Enrich.FromLogContext() .WriteTo.Console() .WriteTo.File(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "App_Data", "SysLogs", $"log-{DateTime.Now:yyyyMMdd}.log"), rollingInterval: RollingInterval.Day, outputTemplate: "{Timestamp:yyyy-MM-dd HH:mm} || {Level} || {SourceContext:l} || {Message} || {Exception} ||end {NewLine}") this is my function write logs to files
before i also write logs to seq: .WriteTo.Seq("http://localhost:9041", apiKey: "*") but my project not distributed,after i just use file Folder mode
mo-esmp
No branches or pull requests
When i write my logs to the file flodler ,how can i use this project to show my logs ui
The text was updated successfully, but these errors were encountered: