Boost C++ Libraries

PrevUpHomeNext

Function template named_scope

boost::log::formatters::named_scope

Synopsis

// In header: <boost/log/formatters/named_scope.hpp>


template<typename CharT, typename... ArgsT> 
  fmt_named_scope< CharT, throw_policy > 
  named_scope(std::basic_string< CharT > const & name, ArgsT...const & args);

Description

Formatter generator. Construct the named scope formatter with the specified formatting parameters.

Parameters:
args

An optional set of named parameters. Supported parameters:

  • delimiter - a string that is used to delimit the formatted scope names. Default: "->" or "<-", depending on the iteration direction.

  • iteration - iteration direction. Default: forward.

  • depth - iteration depth. Default: unlimited.

name

Attribute name


PrevUpHomeNext