boost::logging::level::holder_tss_with_cache< default_cache_secs > Struct Template Reference

Filter - holds the level, in a thread-safe way, using TLS. More...

Collaboration diagram for boost::logging::level::holder_tss_with_cache< default_cache_secs >:
[legend]

List of all members.


Detailed Description

template<int default_cache_secs = 5>
struct boost::logging::level::holder_tss_with_cache< default_cache_secs >

Filter - holds the level, in a thread-safe way, using TLS.

Uses TLS (Thread Local Storage) to find out if a level is enabled or not. It caches the current "is_enabled" on each thread. Then, at a given period, it retrieves the real "level".


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

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