|
Fcitx
|
Log utilities. More...
#include <iostream>#include <list>#include <map>#include <memory>#include <optional>#include <set>#include <string>#include <tuple>#include <type_traits>#include <unordered_map>#include <unordered_set>#include <utility>#include <vector>#include <fcitx-utils/fcitxutils_export.h>#include <fcitx-utils/fs.h>#include <fcitx-utils/key.h>#include <fcitx-utils/macros.h>#include <fcitx-utils/metastring.h>#include <fcitx-utils/misc.h>#include <fcitx-utils/tuplehelpers.h>#include <source_location>#include <span>

Go to the source code of this file.
Classes | |
| class | fcitx::LogCategory |
| class | fcitx::Log |
| class | fcitx::LogMessageBuilder |
| class | fcitx::LogMessageBuilderWrapper< MetaStringFileName, N > |
Macros | |
| #define | FCITX_SIMPLE_LOG(TYPE) |
| #define | FCITX_LOGC_IF(CATEGORY, LEVEL, CONDITION) |
| #define | FCITX_LOGC(CATEGORY, LEVEL) |
| #define | FCITX_LOG(LEVEL) FCITX_LOGC(::fcitx::Log::defaultCategory, LEVEL) |
| #define | FCITX_DEBUG() FCITX_LOG(Debug) |
| #define | FCITX_WARN() FCITX_LOG(Warn) |
| #define | FCITX_INFO() FCITX_LOG(Info) |
| #define | FCITX_ERROR() FCITX_LOG(Error) |
| #define | FCITX_FATAL() FCITX_LOG(Fatal) |
| #define | FCITX_LOG_IF(LEVEL, CONDITION) FCITX_LOGC_IF(::fcitx::Log::defaultCategory, LEVEL, CONDITION) |
| #define | FCITX_ASSERT(...) FCITX_LOG_IF(Fatal, !(__VA_ARGS__)) << #__VA_ARGS__ << " failed. " |
| #define | FCITX_DEFINE_LOG_CATEGORY(name, ...) |
| #define | FCITX_DECLARE_LOG_CATEGORY(name) const ::fcitx::LogCategory &name() |
Enumerations | |
| enum | fcitx::LogLevel : int { NoLog = 0, fcitx::Fatal = 1, Error = 2, Warn = 3, Info = 4, Debug = 5, LastLogLevel = Debug } |
| LogLevel from high to low. More... | |
Log utilities.
Definition in file log.h.
1.8.13