Skip to content

Commit 540c7b1

Browse files
committed
Can write to console directly now
1 parent 8e6e271 commit 540c7b1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ public class Startup
2020
public Startup(IHostingEnvironment env)
2121
{
2222
Log.Logger = new LoggerConfiguration()
23-
#if DNXCORE50
24-
.WriteTo.TextWriter(Console.Out)
25-
#else
26-
.WriteTo.Trace()
27-
#endif
23+
.WriteTo.Console()
2824
.CreateLogger();
2925

3026
// Other startup code

0 commit comments

Comments
 (0)