clang-tools
10.0.0
|
Interface to allow custom logging in clangd. More...
#include <Logger.h>
Public Types | |
enum | Level { Debug, Verbose, Info, Error } |
Public Member Functions | |
virtual | ~Logger ()=default |
virtual void | log (Level, const llvm::formatv_object_base &Message)=0 |
Implementations of this method must be thread-safe. More... | |
Static Public Member Functions | |
static char | indicator (Level L) |
|
virtualdefault |
|
inlinestatic |
Definition at line 28 of file Logger.h.
References log(), and clang::tidy::modernize::Message.
|
pure virtual |
Implementations of this method must be thread-safe.
Implemented in clang::clangd::StreamLogger.
Referenced by indicator(), and clang::clangd::StreamLogger::StreamLogger().