Logging and Tracing

The MAF Extensibility Framework libraries use MAFLogger APIs for logging and tracing.

The MAFLogger provides a built-in console logger, and a built-in file logger, and also acts as a wrapper on top of the SDMLogger (see the SDMSupportability library). By default, noncritical logs are disabled, and therefore, only exceptional cases appear in the log. You can use the MAFLogger:enableNonCriticalLogging API to enable verbose logging; however, enabling this API significantly increases the number of log files.

Serious issues, such as exceptions and validation problems are logged as Error level, while non-critical issues are marked as Warnings.