Skip to content

Commit

Permalink
Remove extraneous pipe in message template
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Feb 9, 2020
1 parent c521fc1 commit acee782
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion propulsion-consumer/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module Logging =
|> fun c -> if verbose then c.MinimumLevel.Debug() else c
|> fun c -> let theme = Sinks.SystemConsole.Themes.AnsiConsoleTheme.Code
if not verbose then c.WriteTo.Console(theme=theme)
else c.WriteTo.Console(theme=theme, outputTemplate="[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}|{Properties}{NewLine}{Exception}")
else c.WriteTo.Console(theme=theme, outputTemplate="[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} {Properties}{NewLine}{Exception}")
|> fun c -> c.CreateLogger()

let start (args : CmdParser.Arguments) =
Expand Down
2 changes: 1 addition & 1 deletion propulsion-summary-consumer/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module Logging =
|> fun c -> if verbose then c.MinimumLevel.Debug() else c
|> fun c -> let theme = Sinks.SystemConsole.Themes.AnsiConsoleTheme.Code
if not verbose then c.WriteTo.Console(theme=theme)
else c.WriteTo.Console(theme=theme, outputTemplate="[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}|{Properties}{NewLine}{Exception}")
else c.WriteTo.Console(theme=theme, outputTemplate="[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} {Properties}{NewLine}{Exception}")
|> fun c -> c.CreateLogger()

let [<Literal>] AppName = "ConsumerTemplate"
Expand Down
2 changes: 1 addition & 1 deletion propulsion-tracking-consumer/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module Logging =
|> fun c -> if verbose then c.MinimumLevel.Debug() else c
|> fun c -> let theme = Sinks.SystemConsole.Themes.AnsiConsoleTheme.Code
if not verbose then c.WriteTo.Console(theme=theme)
else c.WriteTo.Console(theme=theme, outputTemplate="[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}|{Properties}{NewLine}{Exception}")
else c.WriteTo.Console(theme=theme, outputTemplate="[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} {Properties}{NewLine}{Exception}")
|> fun c -> c.CreateLogger()

let [<Literal>] AppName = "ConsumerTemplate"
Expand Down

0 comments on commit acee782

Please sign in to comment.