#include <TEnv.h>
#include <TError.h>
#include <ThreadLocalStorage.h>
#include <TSystem.h>
#include <Varargs.h>
#include <cstdio>
#include <cstdlib>
#include <cctype>
#include <cstring>
#include <mutex>
Namespaces | |
namespace | ROOT |
This file contains a specialised ROOT message handler to test for diagnostic in unit tests. | |
namespace | ROOT::Internal |
Functions | |
static void | DebugPrint (const char *fmt,...) |
Print debugging message to stderr and, on Windows, to the system debugger. | |
void | DefaultErrorHandler (Int_t level, Bool_t abort_bool, const char *location, const char *msg) |
The default error handler function. | |
static std::mutex * | GetErrorMutex () |
Serializes error output, destructed by the gROOT destructor via ReleaseDefaultErrorHandler() | |
void | ROOT::Internal::ReleaseDefaultErrorHandler () |
Destructs resources that are taken by using the default error handler. | |
Definition in file TErrorDefaultHandler.cxx.
|
static |
Print debugging message to stderr and, on Windows, to the system debugger.
Definition at line 57 of file TErrorDefaultHandler.cxx.
void DefaultErrorHandler | ( | Int_t | level, |
Bool_t | abort_bool, | ||
const char * | location, | ||
const char * | msg | ||
) |
The default error handler function.
It prints the message on stderr and if abort is set it aborts the application. Replaces the minimal error handler of TError.h as part of the gROOT construction. TError's minimal handler is put back in place during the gROOT destruction.
abort()
is only called if abort_bool
is true
and level < gErrorIgnoreLevel
Definition at line 102 of file TErrorDefaultHandler.cxx.
|
static |
Serializes error output, destructed by the gROOT destructor via ReleaseDefaultErrorHandler()
Definition at line 38 of file TErrorDefaultHandler.cxx.