FCF 2.0 development in progress...
> > > >
[News] [C++ Libraries API] [C++ Downloads] [Donate to the project] [Contacts]

fcf::NTest::ELogLevel enum

Type: fcf::NTest::ELogLevel

Package: fcfTest

File: test.hpp

Available from version: 1.0.1

Enumeration of available logging severity levels used to filter diagnostic output

The fcf::NTest::ELogLevel enumeration defines the hierarchy of logging verbosity within the framework. It is used to set the threshold for the global logger via setLevel or setLevelStr, and can be specified via the --test-log-level command-line flag.

The logger only processes messages with a level equal to or higher than the currently configured level.

Enum items
LL_DEF = -1 - Used to indicate the use of a default value when running a test with the run()/cmdRun() function.

This value is passed only via fcf::NTest::Options::logLevel ("def" is the string equivalent).

LL_OFF = 0 - Off — Disables all logging ("off" is the string equivalent)
LL_FTL = 1 - Fatal — Critical failures ("ftl" is the string equivalent)
LL_ERR = 2 - Error — Error conditions ("err" is the string equivalent)
LL_WRN = 3 - Warning — Potential issues ("wrn" is the string equivalent)
LL_ATT = 4 - Attention — Important notices ("att" is the string equivalent)
LL_LOG = 5 - Log — Standard operational messages (Default) ("log" is the string equivalent)
LL_INF = 6 - Information — General information ("inf" is the string equivalent)
LL_DBG = 7 - Debug — Detailed diagnostic information ("dbg" is the string equivalent)
LL_TRC = 8 - Trace — Extremely granular execution details ("trc" is the string equivalent)
LL_ALL = 9 - All — Enables all logging levels ("all" is the string equivalent)