log/example/settings_file/settings.txt
Andrey Semashev 08bd1fb809 Added support for trivial::severity_level to filter/formatter parsers.
The default filter/formatter factories will now be able to extract severity
level values of type boost::log::trivial::severity_level. For filters, this
is only supported for attributes with the "Severity" name.
2019-06-25 18:54:55 +03:00

26 lines
494 B
Plaintext

#
# Copyright Andrey Semashev 2007 - 2014.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#
[Core]
Filter="%Severity% >= debug"
[Sinks.1]
Destination=Console
Format="%TimeStamp% [%Severity%] *** %Message%"
Filter="%Tag% | %Severity% > info"
[Sinks.2]
Destination=TextFile
FileName=test.log
AutoFlush=true
Format="[%TimeStamp%] [%Severity%] [%Tag%] %Message%"