//===- Logging.h - MLIR LSP Server Logging ----------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef MLIR_TOOLS_LSPSERVERSUPPORT_LOGGING_H #define MLIR_TOOLS_LSPSERVERSUPPORT_LOGGING_H #include "mlir/Support/LLVM.h" #include "llvm/Support/Debug.h" #include "llvm/Support/FormatVariadic.h" #include <memory> #include <mutex> namespace mlir { namespace lsp { /// This class represents the main interface for logging, and allows for /// filtering logging based on different levels of severity or significance. class Logger { … }; } // namespace lsp } // namespace mlir #endif // MLIR_TOOLS_LSPSERVERSUPPORT_LOGGING_H