IMP
2.2.0
The Integrative Modeling Platform
|
Logging and error reporting support. More...
#include <IMP/base/base_config.h>
#include "enums.h"
#include "WarningContext.h"
#include "Flag.h"
#include <string>
Go to the source code of this file.
Namespaces | |
IMP | |
All IMP::kernel code is brought into the IMP namespace. | |
IMP::base | |
See IMP.base for more information. | |
Logging | |
Logging is provided by IMP/base/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 global 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-2014 IMP Inventors. All rights reserved.
Definition in file base/log.h.