Rosetta Utilities  2014.35
Classes | Namespaces | Typedefs | Enumerations | Functions
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 <platform/types.hh>
#include <utility/down_cast.hh>
#include <utility/vector1_bool.hh>
#include <utility/pointer/ReferenceCount.fwd.hh>
#include <utility/pointer/owning_ptr.functions.hh>
#include <utility/pointer/owning_ptr.fwd.hh>
#include <cassert>
#include <cstddef>
#include <iosfwd>
#include <ostream>


class  basic::CSI_Sequence
 Class to hold all Terminal ASCII codes as static data for Tracer. Note: that on non-tty terminals all codes will initialized as empty to avoid polution of Rosetta logs. More...
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...
class  basic::PyTracer
 Special PyRosetta friendly Tracer like buffer. Use it to capture Tracer output with set_ios_hook. More...




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. More...
Tracer & basic::Error (TracerPriority priority=t_error)
 Predefined Error tracer. More...
Tracer & basic::Warning (TracerPriority priority=t_warning)
 Predefined Warning tracer. More...

Detailed Description

Tracer IO system.

Sergey Lyskov