Log4net Custom level -
i trying print custom level logs in application using log4net. need create own levels applicationname.info
, applicationname.error
i don't know how create custom levels default levels can me?
you seem doing wrong reasons. quoting log4j docs' faq:
it possible, appropriate. [..]
it's absolutely overkill , needless work override existing log-levels custom ones. log frameworks allow configuring templates according needs.
use existing levels instead, else not correct approach current problem.
Comments
Post a Comment