#include <logging.h>
Inheritance diagram for templog::write_policy_base< WritePolicy_, Endl_, Incremental_ >:

Public Types | |
| typedef templ_meta::boolean< Incremental_ >  | incremental_write_support | 
| typedef templ_meta::boolean< Endl_ >  | needs_endl | 
Static Public Member Functions | |
| template<class FormattingPolicy_, int Sev_, int Aud_, class ParamList_> | |
| static void | write_msg (TEMPLOG_SOURCE_SIGN, const ParamList_ ¶meters) | 
Write policy determine how and where log messages get written to. They need to closely collaborate with formatting policies, in order to achieve a high degree of inlining and thus performance.
Write policies either allow incremental (e.g. stream-like) writing or non-incremental writing (which need to write a whole log message as one string).
There already are a few pre-defined write policies. If you want to write your own, this class provides all the boiler-plate code for doing so. For convenience, you can derive from either incremental_write_policy_base or non_incremental_write_policy_base.
Definition at line 564 of file logging.h.
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  |||||
| 
 
  | 
  
      
  | 
  ||||||||||||||||||||
| 
 
  | 
  
 1.4.2