Console - Logary Target
For LogLines | builtin
Writes output messages to System.Console.Out
and Error, and Fatal LogLines
to System.Console.Error
.
Install-Package Logary
The console target is very simple to use and create:
use logary =
withLogaryManager "Console Example" (
withTargets [
Console.create (Console.empty) (PointName.ofSingle "console")
] >>
withRules [
Rule.createForTarget (PointName.ofSingle "console")
])
var x = LogaryFactory.New("Logary Specs", with => with.Target<Console.Builder>());