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

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

logger public static functions

  1. static logger_type & get();

    Returns a reference to the trivial logger instance


PrevUpHomeNext