is possible use built-in logging file in dnx? tried use system.diagnostics.textwritertracelistener
not available in .net core. suggestions?
by itself, asp.net core’s logging system not come file-based logging provider.
it pretty simple roll own though; @ debug logger example see need do.
of course, use logging framework supports this. example nlog – .net core compatible version in alpha. example serilog has .net core versions in beta (versions 2.x)
if run app through iis, can use iis’ file logging redirect stdout logging files. can configured in web.config
.
Comments
Post a Comment