mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-13 20:46:34 +00:00
fix: Assigns a value to the sink local var
This commit is contained in:
parent
12ef858ed3
commit
2223e09283
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ namespace PepperDash.Core
|
||||||
_logger = new LoggerConfiguration()
|
_logger = new LoggerConfiguration()
|
||||||
//.WriteTo.Logger(lc => lc
|
//.WriteTo.Logger(lc => lc
|
||||||
//.WriteTo.Console(levelSwitch: _consoleLoggingLevelSwitch))
|
//.WriteTo.Console(levelSwitch: _consoleLoggingLevelSwitch))
|
||||||
.WriteTo.Sink(new DebugWebsocketSink(), levelSwitch: _websocketLoggingLevelSwitch)
|
.WriteTo.Sink(_websocketSink = new DebugWebsocketSink(), levelSwitch: _websocketLoggingLevelSwitch)
|
||||||
.WriteTo.File(@"\user\debug\global-log-{Date}.txt"
|
.WriteTo.File(@"\user\debug\global-log-{Date}.txt"
|
||||||
, rollingInterval: RollingInterval.Day
|
, rollingInterval: RollingInterval.Day
|
||||||
, restrictedToMinimumLevel: Serilog.Events.LogEventLevel.Debug)
|
, restrictedToMinimumLevel: Serilog.Events.LogEventLevel.Debug)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue