Rosetta 3.3
Classes | Namespaces | Typedefs | Enumerations | Functions
src/basic/Tracer.hh File Reference

Tracer IO system. More...

#include <basic/Tracer.fwd.hh>
#include <utility/pointer/ReferenceCount.hh>
#include <utility/pointer/owning_ptr.hh>
#include <sstream>
#include <utility/vector1_bool.hh>


class  basic::basic_otstream< CharT, Traits >
 Base class for Tracer, TracerProxy and UTracer objects. More...
class  basic::basic_otstream< CharT, Traits >::basic_tstringbuf< _CharT, _Traits >
 Wrapper class for std::stringbuf. More...
struct  basic::TracerOptions
 data structure to store all system level options for Tracer system. More...
class  basic::Tracer
 Class for handling user debug/warnings/errors. Use instance of this class instead of 'std::cout' for all your regular io. Channel argument must be related to the location of the source file. For example if you create Tracer object in src/basic/scoring/, then channel must be something like 'src.basic.scoring.myfile'. More...
class  basic::Tracer::TracerProxy
 Small inner class acting as a proxy to an object that hold it. More...


namespace  basic


typedef basic_otstream< char > basic::otstream
< otstream > 


enum  basic::TracerPriority {
  basic::t_fatal = 0, basic::t_error = 100, basic::t_warning = 200, basic::t_info = 300,
  basic::t_debug = 400, basic::t_trace = 500
 Priority levels for T() and Tracer object, modeled on the log4j project and its offspring. Priorities in Tracer are still ints so users can pass other arbitrary integer values (for now). More...


Tracer & basic::T (std::string const &channel, TracerPriority priority=t_info)
 T is special function for assign tracer property on the static object.
Tracer & basic::Error (TracerPriority priority=t_error)
 Predefined Error tracer.
Tracer & basic::Warning (TracerPriority priority=t_warning)
 Predefined Warning tracer.

Detailed Description

Tracer IO system.

Sergey Lyskov
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines