Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Compilation Directives

Damian Hickey edited this page May 28, 2018 · 1 revision
  • Define LIBLOG_PUBLIC to have the LibLog API as part of your libraries public API. Note: this can have unintended consequences of consumers of your library using your library to resolve a logger. If the reason is because you want to open this functionality to other projects within a solution, consider [InternalsVisibleTo] instead.
  • Define LIBLOG_EXCLUDE_CODE_COVERAGE to exclude LibLog from your code coverage reports
  • Define LIBLOG_PROVIDERS_ONLY if your library provides its own logging API and you just want to use the LibLog providers internally to provide built in support for popular logging frameworks.
Clone this wiki locally