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
Post a Comment