Hazelcast C++ Client
Public Types | Public Member Functions | Static Public Member Functions | List of all members
hazelcast::logger Class Reference

Public Types

enum  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
 

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