Hazelcast C++ Client
Hazelcast C++ Client Library
hazelcast::logger Class Reference

Public Types

enum class  level : int {
  all = (std::numeric_limits<int>::min)() , finest = 300 , finer = 400 , fine = 500 ,
  info = 800 , warning = 900 , severe = 1000 , off = (std::numeric_limits<int>::max)()
}
 
using handler_type = std::function< void(const std::string &, const std::string &, level, const std::string &)>
 

Public Member Functions

 logger (std::string instance_name, std::string cluster_name, level lvl, handler_type handler)
 
bool enabled (level lvl) noexcept
 
void log (level lvl, const std::string &msg) noexcept
 

Static Public Member Functions

static void default_handler (const std::string &instance_name, const std::string &cluster_name, level lvl, const std::string &msg) noexcept
 

Detailed Description

Definition at line 26 of file logger.h.


The documentation for this class was generated from the following files: