|
SFrame 3.6
|
#include <TError.h>

Go to the source code of this file.
Functions | |
| void | SErrorHandler (int level, Bool_t abort, const char *location, const char *message) |
| Function printing log messages from ROOT. | |
| void SErrorHandler | ( | int | level, |
| Bool_t | abort, | ||
| const char * | location, | ||
| const char * | message | ||
| ) |
Function printing log messages from ROOT.
This function is the "SFrame version" of DefaultErrorHandler defined in the TError.h header. By calling
SetErrorHandler( SErrorHandler )
somewhere at the beginning of the application, we can channel all ROOT messages through our own message logging facility.
| level | ROOT message level |
| abort | Flag telling that the process should abort execution |
| location | The source of the message |
| message | The message itself |
Definition at line 44 of file SErrorHandler.cxx.
References SLogger::endmsg(), ERROR, FATAL, INFO, msgLevelMap, and WARNING.
Referenced by SetSErrorHandler().