boost::logging::logger_holder_by_value< type > Struct Template Reference

Allows using a log without knowing its full type yet. Even if the log is not fully defined, you can still use it. More...

Inheritance diagram for boost::logging::logger_holder_by_value< type >:
[legend]
Collaboration diagram for boost::logging::logger_holder_by_value< type >:
[legend]

List of all members.


Detailed Description

template<class type>
struct boost::logging::logger_holder_by_value< type >

Allows using a log without knowing its full type yet. Even if the log is not fully defined, you can still use it.

This will allow you to log messages even if you don't know the full type of the log (which can aid compilation time).

This keeps the logger by value, so that the after_being_destroyed stuff works. More specifically, in case the logger is used after it's been destroyed, the logger_holder instances CAN ONLY BE GLOBAL.


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

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