Logary is a high performance, multi-target logging, metric and health-check library for mono and .Net. Targets include: textwriter, console, debugger, nlog, zipkin, nimrod, riemann, logstash, sqlite, sql server, graphite, loggr, elmah.io, logentries. Adapters for: suave.
haf on master
Add System.Data.Odbc to depende… (compare)
haf on master
Correcting copy target in Docke… (compare)
haf on master
Remove stray extra find stanza … (compare)
haf on master
Let Dockerfile copy the artifac… (compare)
haf on master
Quicker builds with pre-downloa… Dockerfile with Rutta publish s… (compare)
haf on master
Test with better .dockerignore … (compare)
haf on master
Makefile targets (compare)
haf on master
Remove legacy/ folder; noone ha… Remove stray duplicate Version … Remove extra print of locales and 5 more (compare)
haf on master
Fix LC_ALL warning from perl (compare)
haf on master
Working Dockerfile build and ma… (compare)
haf on master
Add RELEASE_NOTES note and Dock… (compare)
open Logary.Targets.ApplicationInsights
does not compile because ApplicationInsights is not a module in the Logary.Targets
namespace. What am I missing?
I may be missing something obvious here, but is there a point free constructor for the message factory?.LogLevel -> Message
but all the functions to make a message is of the formmessage.event ->LogLevel->string->Message
So I feel like I have to writedo! Logging.log Info (fun l -> Message.event l "template |> Message.setField...)
I'd much ratherdo! Logging.log Info (Message.fromtemplate "template >> Message.setField ... )
It also leads me to believe I'm possibly created log entries the wrong way?.
hiera
like Npgsql
and set it to Info
and leave the rest as Debug
how would I go about that? This doesn't seem to work for some reason. Rule.createForTarget ("console")
|> Rule.setHieraString "Npgsql"
|> Rule.setLevel LogLevel.Info
Rule.createForTarget ("console")
|> Rule.setLevel LogLevel.Debug
logger.infoWithBP
buffers in RingBuffer
ahead of each target (and you can continue/job is done) after ALL targets have this message in their ring buffers (but not taken it yet)
logger.logWithAck
gives an Alt
which gets committed when the RingBuffer of all targets has accepted the message and its inner value is a promise that gets committed/a value when all targets have flushed the log message.
Message
module in Logary to get the 'nice idiomatic` usage.
Does current master build?. I'm getting errors when running the bundle exec rake
:\msys64\home\beau.trepp\net\logary\examples\Libryy\Libryy.fsproj: error : C:\msys64\home\beau.trepp\net\logary\examples\Libryy\Libryy.fsproj: C:\msys64\home\beau.trepp\net\logary\examples\Libryy\Libryy.fsproj could not import "$(FSharpTargetsPath)"
Configuration: Release Platform: AnyCPU
BinaryAnnotation.cs(15,55): warning CS1570: XML comment has badly formed XML -- 'Reference to undefined entity 'rArr'.'
Granted i'm using msys2 on windows, so theres probably a whole bunch of hell with ruby interacting with it
let logger = Logging.getCurrentLogger ()
Message.event Info "Something here" |> Logger.logSimple logger
threw an exception. ---> System.MissingMethodException: Method not found: 'NodaTime.Instant NodaTime.SystemClock.get_Now()'.
at Logary.MessageModule.Event(LogLevel level, String template)
NodaTime
to my paket
dependencies but that didn't work. Is there something obvious that i am missing?