nub::logging Namespace Reference

Functions for hierarchical logging. More...

Functions

void reset ()
void add_scope (const rutz::fstring &name)
void remove_scope (const rutz::fstring &name)
void add_obj_scope (const nub::object &obj)
 Add a scope named after the given object's type + id.
void remove_obj_scope (const nub::object &obj)
 Remove the scope named after the given object's type + id.
void set_log_filename (const rutz::fstring &filename)
 Specify the name of a file to which log info should be appended.
void copy_to_stdout (bool shouldcopy)
 Specify whether to copy log output to stdout (default = yes).

Detailed Description

Functions for hierarchical logging.


Function Documentation

void nub::logging::add_obj_scope ( const nub::object obj  ) 

Add a scope named after the given object's type + id.

Definition at line 130 of file log.cc.

References log(), rutz::sfmt(), and nub::object::unique_name().

void nub::logging::copy_to_stdout ( bool  shouldcopy  ) 

Specify whether to copy log output to stdout (default = yes).

Definition at line 163 of file log.cc.

void nub::logging::remove_obj_scope ( const nub::object obj  ) 

Remove the scope named after the given object's type + id.

Definition at line 141 of file log.cc.

References rutz::fstring::c_str(), log(), rutz::sfmt(), and nub::object::unique_name().

void nub::logging::set_log_filename ( const rutz::fstring filename  ) 

Specify the name of a file to which log info should be appended.

Definition at line 152 of file log.cc.

References rutz::fstring::c_str(), and rutz::shared_ptr< T >::swap().

Generated on Sun May 8 08:30:53 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3