IMP
2.0.0
The Integrative Modeling Platform
|
Logging and error reporting support. More...
#include <IMP/base/base_config.h>
#include "enums.h"
#include "WarningContext.h"
#include "internal/static.h"
#include <iostream>
#include <cstdlib>
#include <string>
#include <sstream>
Go to the source code of this file.
Namespaces | |
namespace | IMP |
All IMP::kernel code is brought into the IMP namespace. | |
namespace | IMP::base |
See IMP.base Overview for more information. | |
Logging | |
Logging is provided by IMP/log.h. People implementing IMP::Object classes should also see IMP_OBJECT_LOG() and IMP::SetLogState. All logging is disabled when | |
void | IMP::base::add_to_log (LogLevel level, std::string to_write) |
Write a string to the log, for python. | |
void | IMP::base::set_log_level (LogLevel l) |
Set the current global log level. More... | |
void | IMP::base::set_log_timer (bool tb) |
Set whether log messages are tagged with the current log time. | |
void | IMP::base::reset_log_timer () |
Reset the log timer. | |
LogLevel | IMP::base::get_log_level () |
Get the currently active log level. More... | |
Create a progress bar in the terminal | |
void | IMP::base::set_progress_display (std::string description, unsigned int steps) |
void | IMP::base::add_to_progress_display (unsigned int step=1) |
Copyright 2007-2013 IMP Inventors. All rights reserved.
Definition in file base/log.h.