You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Serilog sink that writes log events to the Windows Console or an ANSI terminal via standard output. Coloring and custom themes are supported, including ANSI 256-color themes on macOS, Linux and Windows 10. The default output is plain text; JSON formatting can be plugged in using a package such as [_Serilog.Formatting.Compact_](https://github.com/serilog/serilog-formatting-compact).
3
+
A Serilog sink that writes log events to the Windows Console or an ANSI terminal via standard output. Coloring and custom themes are supported, including ANSI 256-color themes on macOS, Linux and Windows 10+. The default output is plain text; JSON formatting can be plugged in using [_Serilog.Formatting.Compact_](https://github.com/serilog/serilog-formatting-compact) or the [fully-customizable](https://nblumhardt.com/2021/06/customize-serilog-json-output/)[_Serilog.Expressions_](https://github.com/serilog/serilog-expressions).
4
4
5
5
### Getting started
6
6
@@ -16,7 +16,7 @@ Then enable the sink using `WriteTo.Console()`:
16
16
Log.Logger=newLoggerConfiguration()
17
17
.WriteTo.Console()
18
18
.CreateLogger();
19
-
19
+
20
20
Log.Information("Hello, world!");
21
21
```
22
22
@@ -171,17 +171,8 @@ Log.Logger = new LoggerConfiguration()
171
171
172
172
### Contributing
173
173
174
-
Would you like to help make the Serilog console sink even better? We keep a list of issues that are approachable for newcomers under the [up-for-grabs](https://github.com/serilog/serilog-sinks-console/issues?labels=up-for-grabs&state=open) label. Before starting work on a pull request, we suggest commenting on, or raising, an issue on the issue tracker so that we can help and coordinate efforts. For more details check out our [contributing guide](CONTRIBUTING.md).
174
+
Would you like to help make the Serilog console sink even better? We keep a list of issues that are approachable for newcomers under the [up-for-grabs](https://github.com/serilog/serilog-sinks-console/issues?labels=up-for-grabs&state=open) label. Before starting work on a pull request, we suggest commenting on, or raising, an issue on the issue tracker so that we can help and coordinate efforts. For more details check out our [contributing guide](CONTRIBUTING.md).
175
175
176
176
When contributing please keep in mind our [Code of Conduct](CODE_OF_CONDUCT.md).
177
177
178
-
179
-
### Detailed build status
180
-
181
-
Branch | AppVeyor | Travis
182
-
------------- | ------------- |-------------
183
-
dev | [](https://ci.appveyor.com/project/serilog/serilog-sinks-console/branch/dev) | [](https://travis-ci.org/serilog/serilog-sinks-console)
184
-
main | [](https://ci.appveyor.com/project/serilog/serilog-sinks-console/branch/main) | [](https://travis-ci.org/serilog/serilog-sinks-console)
0 commit comments