9#ifndef LLVM_SUPPORT_LSP_LOGGING_H
10#define LLVM_SUPPORT_LSP_LOGGING_H
32 template <
typename... Ts>
static void debug(
const char *Fmt, Ts &&...Vals) {
35 template <
typename... Ts>
static void info(
const char *Fmt, Ts &&...Vals) {
38 template <
typename... Ts>
static void error(
const char *Fmt, Ts &&...Vals) {
49 static void log(Level LogLevel,
const char *Fmt,
This class represents the main interface for logging, and allows for filtering logging based on diffe...
static void error(const char *Fmt, Ts &&...Vals)
static void debug(const char *Fmt, Ts &&...Vals)
Initiate a log message at various severity levels.
Level
The level of significance for a log message.
static void setLogLevel(Level LogLevel)
Set the severity level of the logger.
static void info(const char *Fmt, Ts &&...Vals)
SmartMutex< false > Mutex
Mutex - A standard, always enforced mutex.
This is an optimization pass for GlobalISel generic memory operations.
auto formatv(bool Validate, const char *Fmt, Ts &&...Vals)
decltype(auto) get(const PointerIntPair< PointerTy, IntBits, IntType, PtrTraits, Info > &Pair)