Skip to content

Commit

Permalink
Update log4net.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiranAvidov authored Jun 21, 2022
1 parent e1b9e92 commit c43e689
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/log4net.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ To add the Logz.io appender via code, add the following lines:
// logzioAppender.AddGzip(true);
// logzioAppender.ActivateOptions();
// logzioAppender.JsonKeysCamelCase(false)
logzioAppender.ActiveOptions();
hierarchy.Root.AddAppender(logzioAppender);
hierarchy.Root.Level = Level.All;
hierarchy.Configured = true;
```

Expand Down

0 comments on commit c43e689

Please sign in to comment.