c# - Same logger to log in multiple destinations? -


how can have 1 logger, getlogger() method, logging file , rich text box @ same time?

one approach use ioc container. define interface , define logger classes based on interface. can created or injected other classes needed.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -