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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
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 conversion_error;
    class invalid_type;
    class invalid_value;
    class limitation_error;
    class logic_error;
    class missing_value;
    class odr_violation;
    class parse_error;
    class runtime_error;
    class setup_error;
    class system_error;
    class unexpected_call;
  }
}

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. 
      template<typename CharT> const CharT * to_string(severity_level);
      const char * to_string(severity_level);
      template<typename CharT> 
        bool from_string(const CharT *, std::size_t, 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