#include "swcdb/core/Compat.h"
#include "swcdb/core/MutexSptd.h"
#include <cstdio>
#include <iostream>
#include <sys/stat.h>
#include <stdio.h>
Go to the source code of this file.
Classes | |
class | SWC::Core::LogWriter |
Namespaces | |
SWC | |
The SWC-DB C++ namespace 'SWC'. | |
SWC::Core | |
The SWC-DB Core Components C++ namespace 'SWC::Core'. | |
Macros | |
#define | SWC_LOG_OSTREAM std::cout |
#define | SWC_LOG_PRINTF(fmt, ...) printf(fmt, __VA_ARGS__) |
#define | SWC_PRINT |
#define | SWC_PRINT_CLOSE std::endl; } catch(...) { } } |
#define | SWC_LOG_OUT(pr, _code_) |
#define | SWC_LOGF(priority, fmt, ...) SWC_LOG_OUT(priority, SWC_LOG_PRINTF(fmt, __VA_ARGS__); ) |
#define | SWC_LOG(priority, message) |
#define | SWC_LOG_FATAL(msg) |
#define | SWC_LOG_FATALF(msg, ...) |
Enumerations | |
enum | SWC::LogPriority : uint8_t { SWC::LOG_FATAL = 0, SWC::LOG_ALERT = 1, SWC::LOG_CRIT = 2, SWC::LOG_ERROR = 3, SWC::LOG_WARN = 4, SWC::LOG_NOTICE = 5, SWC::LOG_INFO = 6, SWC::LOG_DEBUG = 7 } |
Variables | |
LogWriter | SWC::Core::logger |