nixd
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Logger.h File Reference
#include <llvm/Support/Debug.h>
#include <llvm/Support/Error.h>
#include <llvm/Support/FormatAdapters.h>
#include <llvm/Support/FormatVariadic.h>
#include <mutex>

Go to the source code of this file.

Classes

class  lspserver::Logger
 Interface to allow custom logging in clangd. More...
 
class  lspserver::LoggingSession
 Only one LoggingSession can be active at a time. More...
 
class  lspserver::StreamLogger
 

Namespaces

namespace  lspserver
 Whether current platform treats paths case insensitively.
 
namespace  lspserver::detail
 

Functions

const charlspserver::detail::debugType (const char *Filename)
 
void lspserver::detail::logImpl (Logger::Level, const char *Fmt, const llvm::formatv_object_base &)
 
template<typename T >
T && lspserver::detail::wrap (T &&V)
 
decltype(fmt_consume(llvm::Error::success())) lspserver::detail::wrap (llvm::Error &&V)
 
template<typename... Ts>
void lspserver::detail::log (Logger::Level L, const char *Fmt, Ts &&...Vals)
 
llvm::Error lspserver::detail::error (std::error_code, std::string &&)
 
template<typename... Ts>
void lspserver::elog (const char *Fmt, Ts &&...Vals)
 
template<typename... Ts>
void lspserver::log (const char *Fmt, Ts &&...Vals)
 
template<typename... Ts>
void lspserver::vlog (const char *Fmt, Ts &&...Vals)
 
template<typename... Ts>
llvm::Error lspserver::error (std::error_code EC, const char *Fmt, Ts &&...Vals)
 
template<typename... Ts>
llvm::Error lspserver::error (const char *Fmt, Ts &&...Vals)
 
llvm::Error lspserver::error (std::error_code EC, std::string Msg)
 
llvm::Error lspserver::error (std::string Msg)