Classes | Namespaces | Macros | Functions
logger.hpp File Reference
#include <cuml/common/log_levels.hpp>
#include <stdarg.h>
#include <memory>
#include <mutex>
#include <sstream>
#include <string>
Include dependency graph for logger.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ML::Logger
 The main Logging class for cuML library. More...
 
class  ML::PatternSetter
 RAII based pattern setter for Logger class. More...
 

Namespaces

 spdlog
 
 spdlog::sinks
 
 ML
 

Macros

#define CUML_LOG_TRACE(fmt, ...)
 
#define CUML_LOG_DEBUG(fmt, ...)
 
#define CUML_LOG_INFO(fmt, ...)   ML::Logger::get().log(CUML_LEVEL_INFO, fmt, ##__VA_ARGS__)
 
#define CUML_LOG_WARN(fmt, ...)   ML::Logger::get().log(CUML_LEVEL_WARN, fmt, ##__VA_ARGS__)
 
#define CUML_LOG_ERROR(fmt, ...)   ML::Logger::get().log(CUML_LEVEL_ERROR, fmt, ##__VA_ARGS__)
 
#define CUML_LOG_CRITICAL(fmt, ...)   ML::Logger::get().log(CUML_LEVEL_CRITICAL, fmt, ##__VA_ARGS__)
 

Functions

std::string ML::format (const char *fmt, va_list &vl)
 
std::string ML::format (const char *fmt,...)