Serilog with WP8.1

78 views Asked by At

I'm trying to use Serilog in a WP8.1 app. There are no functions like

var log = new LoggerConfiguration()
.WriteTo.RollingFile("log-{Date}.txt")
.CreateLogger();

when creating the LoggerConfiguration. The only chance to write the log to file is to use WriteTo.TextWriter(...) method, where I have to define my own implementation of the abstract TextWriter class. Is there any possibilities to let Serilog write the log entries to file automaticed (like in desktop apps)?

Thanks

0

There are 0 answers