Common Logging

From Hiasobi - FHIR
Revision as of 10:59, 3 March 2014 by Brett Esler (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Common Logging

Supported as follows:

  • Common.Logging.dll (v2.1.1.0) built in
  • External adapters e.g. NLog - Common.Logging.NLog20.dll
  • Configuration: <app>.exe.config - configure logging
  • Defauly is no logging (null logger)


<app>.exe.config for NLog

NLog Configuration

Require libraries and configuration

  • Common.Logging.NLog20.dll - NLog2 common logging adapter
  • NLog.dll - NLog2 core library
  • NLog.config - external configuration file for NLog; (may be done in-line in the <app>.exe.config)