Hazelcast C++ Client
Classes | Public Member Functions | List of all members
hazelcast::client::config::LoggerConfig Class Reference

Classes

class  Type
 

Public Member Functions

Type::LoggerType getType () const
 
void setType (Type::LoggerType type)
 
const std::string & getConfigurationFileName () const
 
void setConfigurationFileName (const std::string &fileName)
 
LoggerLevel::Level getLogLevel () const
 
void setLogLevel (LoggerLevel::Level logLevel)
 

Member Function Documentation

◆ getConfigurationFileName()

const std::string & hazelcast::client::config::LoggerConfig::getConfigurationFileName ( ) const
Returns
The logger configuration file. If this file is configured, no other configuration will be applied but only what is configured in the file will be applied. All log levels will work based on the provided configuration and setLogLevel will not be effective (You can enable disable any level in the configuration file).

◆ getLogLevel()

LoggerLevel::Level hazelcast::client::config::LoggerConfig::getLogLevel ( ) const
Returns
The level for which the logs will be printed.

◆ getType()

LoggerConfig::Type::LoggerType hazelcast::client::config::LoggerConfig::getType ( ) const
Returns
The type of the logger configured. see LoggerConfig::Type enum for possible loggers.

◆ setConfigurationFileName()

void hazelcast::client::config::LoggerConfig::setConfigurationFileName ( const std::string &  fileName)
Parameters
fileNameconfiguration file for the logger.

◆ setLogLevel()

void hazelcast::client::config::LoggerConfig::setLogLevel ( LoggerLevel::Level  logLevel)
Parameters
logLevelSet the log level for which the logs will be printed.

◆ setType()

void hazelcast::client::config::LoggerConfig::setType ( Type::LoggerType  type)
Parameters
typeThe type of the logger that is configured.

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