Defaults, and overriding them.

The logging lib has a few default types, used throughout the lib. They are:

They are all present in default_types structure.

If you want to override any of the above, you should do the following:


    #include <boost/logging/defaults.hpp>

    namespace boost { namespace logging {
        struct types<override> : default_types {
            // define your types
            typedef wchar_t char_type;
            // etc.

    #include <boost/logging/logging.hpp>

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