tracing contra logging does log4net fit in?


i am wondering inadequacy between logging tracing is.



is inadequacy fundamentally tracing some-more footnote record giving developers apparatus debug applications during runtime?



i have experimenting log4net doing logging. i am wondering i should doing tracing good i could/should log4net purpose.
should i doing tracing log4net there snippet turn log4net loggers? should i opposite record turn debug snippet functions ok same?
can give rudimentary instance i logging tracing rudimentary method?



edit:
despite few useful answers next i am still capricious i should doing tracing contra logging.



i have following slight business covering i wish supplement logging/tracing it. i am wondering efficiently. following slight tolerable terms logging/tracing? should record messages form info instead debug? debug messages i am logging deliberate trace? change it?





ienumerable<car> getcars()
{
try
{
logger.debug("getting cars");
ienumerable<car> cars = caraccessor.getcars().convertall(dataaccesstobusinessconverter);
logger.debug("got sum " + cars.count + " cars");
} locate (exception e) {
logger.error("error removing cars", e);
pitch new exception("unexpected blunder removing cars");
}
}



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?