![]() |
CARTA Backend
The backend component of CARTA
|
#include <iostream>#include <spdlog/common.h>#include <spdlog/details/log_msg.h>#include <spdlog/sinks/rotating_file_sink.h>#include <spdlog/sinks/stdout_color_sinks.h>#include <spdlog/spdlog.h>#include <carta-protobuf/enums.pb.h>#include "Util/FileSystem.h"Classes | |
| class | spdlog::sinks::carta_sink |
Namespaces | |
| namespace | spdlog |
| namespace | spdlog::sinks |
| namespace | carta |
| namespace | carta::logger |
Macros | |
| #define | LOG_FILE_SIZE 1024 * 1024 * 5 |
| #define | ROTATED_LOG_FILES 5 |
| #define | CARTA_LOGGER_TAG "CARTA" |
| #define | CARTA_LOGGER_PATTERN "[%Y-%m-%d %H:%M:%S.%eZ] [%n] [%^%l%$] %v" |
| #define | CARTA_FILE_LOGGER_PATTERN "[%Y-%m-%d %H:%M:%S.%eZ] [%^%l%$] %v" |
| #define | PERF_TAG "performance" |
| #define | PERF_PATTERN "[%Y-%m-%d %H:%M:%S.%eZ] [%^%l%$] [%n] %v" |
Functions | |
| void | carta::logger::InitLogger () |
| void | carta::logger::LogReceivedEventType (const CARTA::EventType &event_type) |
| void | carta::logger::LogSentEventType (const CARTA::EventType &event_type) |
| void | carta::logger::FlushLogFile () |
Variables | |
| constexpr auto | spdlog::performance |
| #define CARTA_FILE_LOGGER_PATTERN "[%Y-%m-%d %H:%M:%S.%eZ] [%^%l%$] %v" |
| #define CARTA_LOGGER_PATTERN "[%Y-%m-%d %H:%M:%S.%eZ] [%n] [%^%l%$] %v" |
| #define CARTA_LOGGER_TAG "CARTA" |
| #define LOG_FILE_SIZE 1024 * 1024 * 5 |
| #define PERF_PATTERN "[%Y-%m-%d %H:%M:%S.%eZ] [%^%l%$] [%n] %v" |
| #define PERF_TAG "performance" |
| #define ROTATED_LOG_FILES 5 |