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 a snapshot of the develop branch, built from commit 5f0ff1c60c.
PrevUpHomeNext

Struct logger

boost::log::trivial::logger — Trivial logger tag.

Synopsis

// In header: <boost/log/trivial.hpp>


struct logger {
  // types
  typedef trivial::logger_type logger_type;  // Logger type. 

  // public static functions
  static logger_type & get();
};

Description

This tag can be used to acquire the logger that is used with trivial logging macros. This may be useful when the logger is used with other macros which require a logger.

logger public static functions

  1. static logger_type & get();

    Returns a reference to the trivial logger instance


PrevUpHomeNext