boost::logging::forward_to_logger< gather_msg, write_msg > Struct Template Reference

Forwards everything to a different logger. More...

Inheritance diagram for boost::logging::forward_to_logger< gather_msg, write_msg >:

Inheritance graph
[legend]
Collaboration diagram for boost::logging::forward_to_logger< gather_msg, write_msg >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void forward_to (original_logger_type *original_logger)
virtual cache_type & cache ()


Detailed Description

template<class gather_msg, class write_msg>
struct boost::logging::forward_to_logger< gather_msg, write_msg >

Forwards everything to a different logger.

This includes:


Member Function Documentation

template<class gather_msg, class write_msg>
void boost::logging::forward_to_logger< gather_msg, write_msg >::forward_to ( original_logger_type original_logger  )  [inline]

specifies the logger to forward to

template<class gather_msg, class write_msg>
virtual cache_type& boost::logging::forward_to_logger< gather_msg, write_msg >::cache (  )  [inline, virtual]

note: this call does not need to be very efficient, since the cache is used seldom, only at the beginning of the app, when the logging hasn't yet been initialized thus, we can afford to make it virtual, and the code will become easier

Reimplemented from boost::logging::detail::default_cache_keeper< cache_type >.


The documentation for this struct was generated from the following file:

Copyright John Torjo © 2007-2008
Have a question/ suggestion/ comment? Send me feedback