Skip to content

Commit

Permalink
doc: fix example code in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wlsnmrk committed Jan 29, 2025
1 parent 109e7d2 commit 59a3023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ the log's name, the level of the message, and the message itself.)
```csharp
public class MyClass
{
private ILog _log = new Log(nameof(MyClass), [ConsoleWriter()])
private ILog _log = new Log(nameof(MyClass), [new ConsoleWriter()])
{
Formatter = new MyFormatter()
};
Expand Down

0 comments on commit 59a3023

Please sign in to comment.