oasys::LogCommand Class Reference

#include <LogCommand.h>

Inheritance diagram for oasys::LogCommand:

oasys::TclCommand oasys::Logger List of all members.

Detailed Description

Class to export the logging system to tcl scripts.

Definition at line 48 of file LogCommand.h.

Public Member Functions

 LogCommand ()
virtual int exec (int argc, const char **argv, Tcl_Interp *interp)
 Virtual from CommandModule.


Constructor & Destructor Documentation

oasys::LogCommand::LogCommand (  ) 

Definition at line 44 of file LogCommand.cc.

References oasys::TclCommand::add_to_help(), oasys::TclCommand::bind_s(), and oasys::Log::instance().


Member Function Documentation

int oasys::LogCommand::exec ( int  argc,
const char **  argv,
Tcl_Interp *  interp 
) [virtual]

Virtual from CommandModule.

Reimplemented from oasys::TclCommand.

Definition at line 59 of file LogCommand.cc.

References oasys::StringBuffer::c_str(), oasys::Log::dump_rules(), oasys::Log::instance(), oasys::LOG_DEBUG, oasys::LOG_INVALID, oasys::Logger::logf(), oasys::Log::parse_debug_file(), oasys::TclCommand::resultf(), oasys::Log::rotate(), oasys::Log::set_prefix(), oasys::TclCommand::set_result(), oasys::str2level(), and oasys::TclCommand::wrong_num_args().


The documentation for this class was generated from the following files:
Generated on Fri Dec 22 14:48:07 2006 for DTN Reference Implementation by  doxygen 1.5.1