c# - Logging custom classes through WebService using NLog -
problem follows:
on log event want send custom object (lets logmessage wraps in way logging event) web service. work appenders in log4net, or there kind of thing in nlog btw? or how do nlog way?
note: i'm using webservice target wrapper (if helps in way).
[edit] have added links rather telling look.
nlog has logreceiverservice , logreceiverservicetarget (these might have been added nlog 2.0 went beta recently). can tell, 1 way use service use nlog logging in app. configure send logging messages logreceivertarget. configure logreceivertarget point logreceiverservice. logreceivertarget create "nlogevents" log messages , forward them logreceiverservice. logreceiverservice convert "nlogevents" logevents , log them via nlog. in other words, logging via nlog in app , logreceiverservice logging via nlog.
i posting iphone harder me add links relevant nlog topics. go nlog website , documentation on logreceiverservice. in forum. there has been traffic on logreceiverservice. finally, if google "nlog git" find nlog's git source repository (for logreceiverservice specifically). might able learn there.
good luck!
Comments
Post a Comment