Interface to allow custom logging in clangd.
More...
#include <Logger.h>
|
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.
|
|
Interface to allow custom logging in clangd.
Definition at line 13 of file Logger.h.
◆ Level
The significance or severity of this message. Typically used to filter the output to an interesting level.
Enumerator |
---|
Debug | |
Verbose | |
Info | |
Error | |
Definition at line 19 of file Logger.h.
◆ ~Logger()
virtual lspserver::Logger::~Logger |
( |
| ) |
|
|
virtualdefault |
◆ indicator()
static char lspserver::Logger::indicator |
( |
Level | L | ) |
|
|
inlinestatic |
◆ log()
virtual void lspserver::Logger::log |
( |
Level | , |
|
|
const char * | Fmt, |
|
|
const llvm::formatv_object_base & | Message ) |
|
pure virtual |
The documentation for this class was generated from the following file: