c# - Why create Nlog Logger for every class -


is there other benefit besides being able filter class later?

i'm thinking creating static method in class have 1 instance of logger classes avoid having call

logger = logmanager.getcurrentclasslogger  

for every class.

there no benefits other ability configure , filter log class name. if not rely on having ability, having 1 logger classes valid choice.


Comments

Popular posts from this blog

apache - setting document root in antoher partition on ubuntu -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -

r - Quantstrat logical error while running applySignals - missing value where TRUE/FALSE needed -