xerus
a general purpose tensor library
|
Namespace for function and classes designated only for internal use. More...
Namespaces | |
buffer | |
Classes | |
struct | bfdResolver |
class to load symbols and resolve address pointers More... | |
struct | LogFlag |
Enumerations | |
enum | { NOT_LOGGING = 0, LOGGING_FULL = 2, LOGGING_EXCEPTION = 3 } |
Functions | |
static void | __attribute__ ((constructor)) initTime() |
std::ostream & | get_fileStream () |
constexpr uint64_t | log_namehash (const char *x) |
Hashes a given c-string using the FNV-1a standard hash. More... | |
void | log_timestamp (std::ostream &_out, const char *_file, int _line, const char *_lvl) |
void | log_timestamp (std::ostream &_out, const char *_lvl) |
void | log_timestamp (std::ostream &_out) |
template<size_t n = 0, typename... Tp, typename std::enable_if< n+1==sizeof...(Tp), int >::type = 0> | |
void | print (std::ostream &_out, const std::tuple< Tp... > &t) |
Variables | |
std::string | logFilePrefix |
static const auto | LOGGING_ON_ERROR = NOT_LOGGING |
std::mutex | namedLoggerMutex |
std::chrono::system_clock::time_point | programStartTime |
bool | silenced = false |
Namespace for function and classes designated only for internal use.
anonymous enum |
Enumerator | |
---|---|
NOT_LOGGING | |
LOGGING_FULL | |
LOGGING_EXCEPTION |
Definition at line 67 of file namedLogger.h.
|
static |
Definition at line 42 of file namedLogger.cpp.
std::ostream & xerus::misc::internal::get_fileStream | ( | ) |
Definition at line 81 of file namedLogger.cpp.
constexpr uint64_t xerus::misc::internal::log_namehash | ( | const char * | x | ) |
Hashes a given c-string using the FNV-1a standard hash.
This is used eg. to use strings as template arguments.
Definition at line 49 of file namedLogger.h.
void xerus::misc::internal::log_timestamp | ( | std::ostream & | _out, |
const char * | _file, | ||
int | _line, | ||
const char * | _lvl | ||
) |
Definition at line 67 of file namedLogger.cpp.
void xerus::misc::internal::log_timestamp | ( | std::ostream & | _out, |
const char * | _lvl | ||
) |
Definition at line 75 of file namedLogger.cpp.
void xerus::misc::internal::log_timestamp | ( | std::ostream & | _out | ) |
Definition at line 46 of file namedLogger.cpp.
|
inline |
Definition at line 36 of file containerOutput.h.
std::string xerus::misc::internal::logFilePrefix |
Definition at line 39 of file namedLogger.cpp.
|
static |
Definition at line 72 of file namedLogger.h.
std::mutex xerus::misc::internal::namedLoggerMutex |
Definition at line 38 of file namedLogger.cpp.
std::chrono::system_clock::time_point xerus::misc::internal::programStartTime |
Definition at line 41 of file namedLogger.cpp.
bool xerus::misc::internal::silenced = false |
Definition at line 40 of file namedLogger.cpp.