bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
|
#include "SyncLog.h"
#include "XPlatform.h"
#include <format>
#include <optional>
#include <string_view>
Go to the source code of this file.
Classes | |
class | bux::C_EntryLog |
Log on both declaration point and end of block scope with an unique id. More... | |
Namespaces | |
namespace | bux |
THE common namespace of bux library. | |
namespace | bux::user |
Function prototypes declared in this subnamespace are required to be implemented by user so that functions declared under namespace bux in the same header can be linked properly without errors. | |
Macros | |
#define | _gluePair_(x, y) |
#define | SCOPELOG_(line, scope) |
#define | SCOPELOGX_(line, scope, fmtStr, ...) |
#define | DEF_LOGGER_HEAD_ namespace bux { namespace user { I_SyncLog &logger() { |
#define | DEF_LOGGER_TAIL_(x) |
#define | LOG(ll, fmtStr, ...) |
#define | LOG_RAW(fmtStr, ...) |
#define | SCOPELOG(scope) |
#define | SCOPELOGX(scope, fmtStr, ...) |
#define | LOGGER_USE_LOCAL_TIME_ true |
#define | DEF_LOGGER_OSTREAM(out, ...) |
#define | DEF_LOGGER_COUT(...) |
#define | DEF_LOGGER_CERR(...) |
#define | DEF_LOGGER_FILE(path, ...) |
#define | DEF_LOGGER_FILES(pathfmt, ...) |
#define | DEF_FALLBACK_LOGGER_FILES(fsize_in_bytes, fallbackPaths) |
#define | DEF_PARA_LOGGER |
#define | FUNLOG SCOPELOG(CUR_FUNC_) |
#define | FUNLOGX(fmtStr, ...) |
Functions | |
I_SyncLog & | bux::logger () |
std::ostream & | bux::stamp (const C_UseLog &u, E_LogLevel level) |
I_SyncLog & | bux::user::logger () |
#define DEF_FALLBACK_LOGGER_FILES | ( | fsize_in_bytes, | |
fallbackPaths ) |
#define DEF_LOGGER_CERR | ( | ... | ) |
#define DEF_LOGGER_COUT | ( | ... | ) |
#define DEF_LOGGER_FILE | ( | path, | |
... ) |
#define DEF_LOGGER_FILES | ( | pathfmt, | |
... ) |
#define DEF_LOGGER_HEAD_ namespace bux { namespace user { I_SyncLog &logger() { |
#define DEF_LOGGER_OSTREAM | ( | out, | |
... ) |
#define DEF_LOGGER_TAIL_ | ( | x | ) |
#define DEF_PARA_LOGGER |
#define FUNLOGX | ( | fmtStr, | |
... ) |
#define LOG | ( | ll, | |
fmtStr, | |||
... ) |
#define LOG_RAW | ( | fmtStr, | |
... ) |
#define LOGGER_USE_LOCAL_TIME_ true |
Valid definitions: (#define
before including this header)
#define SCOPELOG | ( | scope | ) |
#define SCOPELOG_ | ( | line, | |
scope ) |
#define SCOPELOGX | ( | scope, | |
fmtStr, | |||
... ) |
#define SCOPELOGX_ | ( | line, | |
scope, | |||
fmtStr, | |||
... ) |