Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Reference

Top level headers
Core components
Attributes
Expressions
Logging sources
Sinks
Utilities
Other libraries support layer

Top level headers

Andrey Semashev

13.07.2009

This header includes other Boost.Log headers with all attributes.

Andrey Semashev

14.03.2009

This header includes other Boost.Log headers that are commonly used in logging applications. Note that the header does not include any headers required to setup the library, as usually they aren't needed in more than one translation unit of the application.

Andrey Semashev

19.04.2007

This header includes Boost.Log headers related to the logging core.

Andrey Semashev

31.10.2009

The header contains exception classes declarations.

namespace boost {
  namespace log {
    class bad_alloc;
    class capacity_limit_reached;
    class runtime_error;
    class missing_value;
    class invalid_type;
    class invalid_value;
    class parse_error;
    class conversion_error;
    class system_error;
    class logic_error;
    class odr_violation;
    class unexpected_call;
    class setup_error;
    class limitation_error;
  }
}

Andrey Semashev

10.11.2012

This header includes other Boost.Log headers with all template expression tools.

Andrey Semashev

13.07.2009

This header includes other Boost.Log headers with all sinks.

Andrey Semashev

07.11.2009

This header defines tools for trivial logging support


BOOST_LOG_TRIVIAL(lvl)
namespace boost {
  namespace log {
    namespace trivial {
      struct logger;

      // Trivial severity levels. 
      enum severity_level { trace, debug, info, warning, error, fatal };

      typedef sources::severity_logger_mt< severity_level > logger_type;  // Trivial logger type. 
      const char * to_string(severity_level);
      template<typename CharT, typename TraitsT> 
        std::basic_ostream< CharT, TraitsT > & 
        operator<<(std::basic_ostream< CharT, TraitsT > &, severity_level);
      template<typename CharT, typename TraitsT> 
        std::basic_istream< CharT, TraitsT > & 
        operator>>(std::basic_istream< CharT, TraitsT > &, severity_level &);
    }
  }
}

PrevUpHomeNext