clang-tools 20.0.0git
|
Interface to allow custom logging in clangd. More...
#include <Logger.h>
Public Types | |
enum | Level : unsigned char { Debug , Verbose , Info , Error } |
The significance or severity of this message. More... | |
Public Member Functions | |
virtual | ~Logger ()=default |
virtual void | log (Level, const char *Fmt, const llvm::formatv_object_base &Message)=0 |
Implementations of this method must be thread-safe. | |
Static Public Member Functions | |
static char | indicator (Level L) |
enum clang::clangd::Logger::Level : unsigned char |
|
virtualdefault |
|
inlinestatic |
Definition at line 29 of file Logger.h.
Referenced by clang::clangd::StreamLogger::log().
|
pure virtual |
Implementations of this method must be thread-safe.
Implemented in clang::clangd::StreamLogger.
Referenced by clang::clangd::detail::logImpl().