Kea 2.5.8
isc::log Namespace Reference

Namespaces

namespace  internal
 
namespace  interprocess
 

Classes

class  BadInterprocessSync
 Bad Interprocess Sync. More...
 
class  FormatFailure
 Format Failure. More...
 
class  Formatter
 The log message formatter. More...
 
struct  Level
 Log level structure. More...
 
class  Logger
 Logger Class. More...
 
class  LoggerImpl
 Console Logger Implementation. More...
 
class  LoggerLevelImpl
 Implementation aspects of logging levels. More...
 
class  LoggerManager
 Logger Manager. More...
 
class  LoggerManagerImpl
 Logger Manager Implementation. More...
 
class  LoggerNameError
 Logger Name Error. More...
 
class  LoggerNameNull
 Logger Name is null. More...
 
class  LoggerSpecification
 
class  LoggingNotInitialized
 Logging Not Initialized. More...
 
class  MessageDictionary
 Message Dictionary. More...
 
class  MessageException
 Message Exception. More...
 
class  MessageInitializer
 Initialize Message Dictionary. More...
 
class  MessageReader
 Read Message File. More...
 
class  MismatchedPlaceholders
 Mismatched Placeholders. More...
 
struct  OutputOption
 

Typedefs

typedef boost::shared_ptr< MessageDictionaryMessageDictionaryPtr
 Shared pointer to the MessageDictionary.
 
typedef const char * MessageID
 
Type definitions for containers shared among instances of the class.
typedef std::list< const char ** > LoggerValuesList
 List of pointers to the messages.
 
typedef boost::shared_ptr< LoggerValuesListLoggerValuesListPtr
 Shared pointer to the list of pointers to the messages.
 
typedef std::list< std::string > LoggerDuplicatesList
 List of duplicated messages.
 
typedef boost::shared_ptr< LoggerDuplicatesListLoggerDuplicatesListPtr
 Shared pointer to the list of duplicated messages.
 

Enumerations

enum  Severity {
  DEFAULT = 0 , DEBUG = 1 , INFO = 2 , WARN = 3 ,
  ERROR = 4 , FATAL = 5 , NONE = 6
}
 Severity Levels. More...
 

Functions

void checkExcessPlaceholders (std::string &message, unsigned int placeholder)
 Internal excess placeholder checker.
 
bool equalMessageID (const MessageID &m1, const MessageID &m2)
 Compare MessageID for Equality.
 
std::string expandLoggerName (const std::string &name)
 Expand logger name.
 
const std::string & getDefaultRootLoggerName ()
 Returns the default ('kea') root logger name.
 
OutputOption::Destination getDestination (const std::string &dest_str)
 
const std::string & getRootLoggerName ()
 Get root logger name.
 
isc::log::Severity getSeverity (const std::string &sev_str)
 Returns the isc::log::Severity value represented by the given string.
 
OutputOption::Stream getStream (const std::string &stream_str)
 
void initLogger (const std::string &root, isc::log::Severity severity=isc::log::INFO, int dbglevel=0, const char *file=NULL, bool buffer=false)
 Run-time initialization.
 
void initLogger (isc::log::Severity severity=isc::log::DEBUG, int dbglevel=isc::log::MAX_DEBUG_LEVEL)
 Run-Time Initialization for Unit Tests from Environment.
 
bool isLoggingInitialized ()
 Is logging initialized?
 
int keaLoggerDbglevel (int defdbglevel)
 Obtains logging debug level from KEA_LOGGER_DBGLEVEL.
 
isc::log::Severity keaLoggerSeverity (isc::log::Severity defseverity)
 Obtains logging severity from KEA_LOGGER_SEVERITY.
 
bool lockfileEnabled ()
 detects whether file locking is enabled or disabled
 
void replacePlaceholder (std::string &message, const std::string &replacement, const unsigned placeholder)
 The internal replacement routine.
 
void setDefaultLoggingOutput (bool verbose=true)
 Reset root logger characteristics.
 
void setLoggingInitialized (bool state=true)
 Set state of "logging initialized" flag.
 
void setRootLoggerName (const std::string &name)
 Set root logger name.
 

Variables

const int DBGLVL_COMMAND = 10
 This debug level is reserved for logging the exchange of messages/commands between processes, including configuration messages.
 
const int DBGLVL_COMMAND_DATA = 20
 If the commands have associated data, this level is when they are printed.
 
const int DBGLVL_PKT_HANDLING = 15
 This debug level is reserved for logging the details of packet handling, such as dropping the packet for various reasons.
 
const int DBGLVL_START_SHUT = 0
 This is given a value of 0 as that is the level selected if debugging is enabled without giving a level.
 
const int DBGLVL_TRACE_BASIC = 40
 Trace basic operations.
 
const int DBGLVL_TRACE_BASIC_DATA = 45
 Trace data associated with the basic operations.
 
const int DBGLVL_TRACE_DETAIL = 50
 Trace detailed operations.
 
const int DBGLVL_TRACE_DETAIL_DATA = 55
 Trace data associated with detailed operations.
 
const isc::log::MessageID LOG_BAD_DESTINATION = "LOG_BAD_DESTINATION"
 
const isc::log::MessageID LOG_BAD_SEVERITY = "LOG_BAD_SEVERITY"
 
const isc::log::MessageID LOG_BAD_STREAM = "LOG_BAD_STREAM"
 
const isc::log::MessageID LOG_DUPLICATE_MESSAGE_ID = "LOG_DUPLICATE_MESSAGE_ID"
 
const isc::log::MessageID LOG_DUPLICATE_NAMESPACE = "LOG_DUPLICATE_NAMESPACE"
 
const isc::log::MessageID LOG_INPUT_OPEN_FAIL = "LOG_INPUT_OPEN_FAIL"
 
const isc::log::MessageID LOG_INVALID_MESSAGE_ID = "LOG_INVALID_MESSAGE_ID"
 
const isc::log::MessageID LOG_NAMESPACE_EXTRA_ARGS = "LOG_NAMESPACE_EXTRA_ARGS"
 
const isc::log::MessageID LOG_NAMESPACE_INVALID_ARG = "LOG_NAMESPACE_INVALID_ARG"
 
const isc::log::MessageID LOG_NAMESPACE_NO_ARGS = "LOG_NAMESPACE_NO_ARGS"
 
const isc::log::MessageID LOG_NO_MESSAGE_ID = "LOG_NO_MESSAGE_ID"
 
const isc::log::MessageID LOG_NO_MESSAGE_TEXT = "LOG_NO_MESSAGE_TEXT"
 
const isc::log::MessageID LOG_NO_SUCH_MESSAGE = "LOG_NO_SUCH_MESSAGE"
 
const isc::log::MessageID LOG_OPEN_OUTPUT_FAIL = "LOG_OPEN_OUTPUT_FAIL"
 
const isc::log::MessageID LOG_PREFIX_EXTRA_ARGS = "LOG_PREFIX_EXTRA_ARGS"
 
const isc::log::MessageID LOG_PREFIX_INVALID_ARG = "LOG_PREFIX_INVALID_ARG"
 
const isc::log::MessageID LOG_READ_ERROR = "LOG_READ_ERROR"
 
const isc::log::MessageID LOG_READING_LOCAL_FILE = "LOG_READING_LOCAL_FILE"
 
const isc::log::MessageID LOG_UNRECOGNIZED_DIRECTIVE = "LOG_UNRECOGNIZED_DIRECTIVE"
 
const isc::log::MessageID LOG_WRITE_ERROR = "LOG_WRITE_ERROR"
 
const isc::log::MessageID LOGIMPL_ABOVE_MAX_DEBUG = "LOGIMPL_ABOVE_MAX_DEBUG"
 
const isc::log::MessageID LOGIMPL_BAD_DEBUG_STRING = "LOGIMPL_BAD_DEBUG_STRING"
 
const isc::log::MessageID LOGIMPL_BELOW_MIN_DEBUG = "LOGIMPL_BELOW_MIN_DEBUG"
 
const int MAX_DEBUG_LEVEL = 99
 
const int MIN_DEBUG_LEVEL = 0
 Minimum/maximum debug levels.
 

Typedef Documentation

◆ LoggerDuplicatesList

typedef std::list<std::string> isc::log::LoggerDuplicatesList

List of duplicated messages.

Definition at line 31 of file message_initializer.h.

◆ LoggerDuplicatesListPtr

Shared pointer to the list of duplicated messages.

Definition at line 33 of file message_initializer.h.

◆ LoggerValuesList

typedef std::list<const char**> isc::log::LoggerValuesList

List of pointers to the messages.

Definition at line 26 of file message_initializer.h.

◆ LoggerValuesListPtr

typedef boost::shared_ptr<LoggerValuesList> isc::log::LoggerValuesListPtr

Shared pointer to the list of pointers to the messages.

Definition at line 28 of file message_initializer.h.

◆ MessageDictionaryPtr

Shared pointer to the MessageDictionary.

Definition at line 27 of file message_dictionary.h.

◆ MessageID

typedef const char* isc::log::MessageID

Definition at line 15 of file message_types.h.

Enumeration Type Documentation

◆ Severity

Severity Levels.

Defines the severity levels for logging. This is shared between the logger and the implementations classes.

N.B. The order of the levels - DEBUG less than INFO less that WARN etc. is implicitly assumed in several implementations. They must not be changed.

Enumerator
DEFAULT 
DEBUG 
INFO 
WARN 
ERROR 
FATAL 
NONE 

Definition at line 23 of file logger_level.h.

Function Documentation

◆ checkExcessPlaceholders()

void isc::log::checkExcessPlaceholders ( std::string &  message,
unsigned int  placeholder 
)

Internal excess placeholder checker.

This is used internally by the Formatter to check for excess placeholders (and fewer arguments).

Definition at line 46 of file log_formatter.cc.

Referenced by isc::log::Formatter< Logger >::~Formatter().

◆ equalMessageID()

bool isc::log::equalMessageID ( const MessageID m1,
const MessageID m2 
)

Compare MessageID for Equality.

Parameters
m1First message ID
m2Second message ID
Returns
true if they are equal, false if not

◆ expandLoggerName()

std::string isc::log::expandLoggerName ( const std::string &  name)

Expand logger name.

Given a logger name, returns the fully-expanded logger name. If the name starts with the root logger name, it is returned as-is. Otherwise it is prefixed with the root logger name.

Parameters
nameName to expand.
Returns
Fully-expanded logger name.

Definition at line 42 of file logger_name.cc.

References getRootLoggerName().

Referenced by isc::log::LoggerManagerImpl::processSpecification().

+ Here is the call graph for this function:

◆ getDefaultRootLoggerName()

const std::string & isc::log::getDefaultRootLoggerName ( )

Returns the default ('kea') root logger name.

Returns
The default name of root logger.

Definition at line 37 of file logger_name.cc.

Referenced by initLogger(), and isc::process::LoggingInfo::toSpec().

◆ getDestination()

◆ getRootLoggerName()

const std::string & isc::log::getRootLoggerName ( )

◆ getSeverity()

isc::log::Severity isc::log::getSeverity ( const std::string &  sev_str)

Returns the isc::log::Severity value represented by the given string.

This must be one of the strings "DEBUG", "INFO", "WARN", "ERROR", "FATAL" or "NONE". (Case is not important, but the string most not contain leading or trailing spaces.)

Parameters
sev_strThe string representing severity value
Returns
The severity. If the string is not recognized, an error will be logged and the string will return isc::log::INFO.

Definition at line 20 of file logger_level.cc.

References DEBUG, ERROR, FATAL, INFO, LOG_BAD_SEVERITY, LOG_ERROR, NONE, and WARN.

Referenced by keaLoggerSeverity().

◆ getStream()

OutputOption::Stream isc::log::getStream ( const std::string &  stream_str)

◆ initLogger() [1/2]

void isc::log::initLogger ( const std::string &  root,
isc::log::Severity  severity = isc::log::INFO,
int  dbglevel = 0,
const char *  file = NULL,
bool  buffer = false 
)

Run-time initialization.

Performs run-time initialization of the logger in particular supplying:

  • Name of the root logger
  • The severity (and if applicable, debug level) for the root logger.
  • Name of a local message file, containing localization of message text.

This function is likely to change over time as more debugging options are held in the configuration database.

Parameters
rootName of the root logger
severitySeverity at which to log
dbglevelDebug severity (ignored if "severity" is not "DEBUG")
fileName of the local message file.
bufferIf true, all log messages will be buffered until one of the process() methods is called. If false, initial logging shall go to the default output (i.e. stdout)

Definition at line 43 of file logger_support.cc.

References isc::log::LoggerManager::init().

Referenced by isc::hooks::hooksStaticLinkInit(), initLogger(), and isc::process::Daemon::loggerInit().

+ Here is the call graph for this function:

◆ initLogger() [2/2]

void isc::log::initLogger ( isc::log::Severity  severity = isc::log::DEBUG,
int  dbglevel = isc::log::MAX_DEBUG_LEVEL 
)

Run-Time Initialization for Unit Tests from Environment.

Performs run-time initialization of the logger via the setting of environment variables. These are:

  • KEA_LOGGER_ROOT
    Name of the root logger. If not given, the string "kea" will be used.
  • KEA_LOGGER_SEVERITY
    Severity of messages that will be logged. This must be one of the strings "DEBUG", "INFO", "WARN", "ERROR", "FATAL" or "NONE". (Must be upper case and must not contain leading or trailing spaces.) If not specified (or if specified but incorrect), the default passed as argument to this function (currently DEBUG) will be used.
  • KEA_LOGGER_DBGLEVEL
    Ignored if the level is not DEBUG, this should be a number between 0 and 99 indicating the logging severity. The default is 0. If outside these limits or if not a number, The value passed to this function (default of MAX_DEBUG_LEVEL) is used.
  • KEA_LOGGER_LOCALMSG
    If defined, the path specification of a file that contains message definitions replacing ones in the default dictionary.
  • KEA_LOGGER_DESTINATION
    If defined, the destination of the logging output. This can be one of:
    • stdout Send output to stdout.
    • stderr Send output to stderr
    • syslog Send output to syslog using the facility local0.
    • syslog:xxx Send output to syslog, using the facility xxx. ("xxx" should be one of the syslog facilities such as "local0".) There must be a colon between "syslog" and "xxx
    • other Anything else is interpreted as the name of a file to which output is appended. If the file does not exist, it is created.

Any errors in the settings cause messages to be output to stderr.

This function is aimed at test programs, allowing the default settings to be overridden by the tester. It is not intended for use in production code.

Note
: Do NOT use this function in production code as it creates lockfile in the build dir. That's ok for tests, but not ok for production code.
Todo:
: Rename. This function overloads the initLogger() function that can be used to initialize production programs. This may lead to confusion.

Definition at line 73 of file logger_unittest_support.cc.

References getDefaultRootLoggerName(), initLogger(), and setDefaultLoggingOutput().

+ Here is the call graph for this function:

◆ isLoggingInitialized()

bool isc::log::isLoggingInitialized ( )

Is logging initialized?

As some underlying logging implementations can behave unpredictably if they have not been initialized when a logging function is called, their initialization state is tracked. The logger functions will check this flag and throw an exception if logging is not initialized at that point.

Returns
true if logging has been initialized, false if not

Definition at line 28 of file logger_support.cc.

Referenced by isc::hooks::hooksStaticLinkInit().

◆ keaLoggerDbglevel()

int isc::log::keaLoggerDbglevel ( int  defdbglevel)

Obtains logging debug level from KEA_LOGGER_DBGLEVEL.

Support function called by the unit test logging initialization code. It returns the logging debug level defined by KEA_LOGGER_DBGLEVEL. If not defined, it returns the default passed to it.

N.B. If there is an error, a message is written to stderr and a value related to the error is used. (This is because (a) logging is not yet initialized, hence only the error stream is known to exist, and (b) this function is only used in unit test logging initialization, so incorrect selection of a level is not really an issue.)

Parameters
defdbglevelDefault debug level to be used if KEA_LOGGER_DBGLEVEL is not defined.
Returns
Debug level to use.

Definition at line 44 of file logger_unittest_support.cc.

References MAX_DEBUG_LEVEL, and MIN_DEBUG_LEVEL.

Referenced by isc::dhcp::test::LogContentTest::LogContentTest(), and setDefaultLoggingOutput().

◆ keaLoggerSeverity()

isc::log::Severity isc::log::keaLoggerSeverity ( isc::log::Severity  defseverity)

Obtains logging severity from KEA_LOGGER_SEVERITY.

Support function called by the unit test logging initialization code. It returns the logging severity defined by KEA_LOGGER_SEVERITY. If not defined it returns the default passed to it.

Parameters
defseverityDefault severity used if KEA_LOGGER_SEVERITY is not
Returns
Severity to use for the logging.

Definition at line 32 of file logger_unittest_support.cc.

References getSeverity().

Referenced by isc::dhcp::test::LogContentTest::LogContentTest(), and setDefaultLoggingOutput().

+ Here is the call graph for this function:

◆ lockfileEnabled()

bool isc::log::lockfileEnabled ( )

detects whether file locking is enabled or disabled

The lockfile is enabled by default. The only way to disable it is to set KEA_LOCKFILE_DIR variable to 'none'.

Returns
true if lockfile is enabled, false otherwise

Definition at line 55 of file logger_impl.cc.

Referenced by isc::log::LoggerImpl::LoggerImpl().

◆ replacePlaceholder()

void isc::log::replacePlaceholder ( std::string &  message,
const std::string &  replacement,
const unsigned  placeholder 
)

The internal replacement routine.

This is used internally by the Formatter. Replaces a placeholder in the message by replacement. If the placeholder is not found, it adds a complain at the end.

Definition at line 23 of file log_formatter.cc.

References isc_throw.

Referenced by isc::log::Formatter< Logger >::arg(), and main().

◆ setDefaultLoggingOutput()

void isc::log::setDefaultLoggingOutput ( bool  verbose = true)

Reset root logger characteristics.

This is a simplified interface into the resetting of the characteristics of the root logger. It is aimed for use in unit tests and initial phase of bring up before logging configuration is parsed and applied. It uses KEA_LOGGER_DESTINATION environment variable to specify logging destination.

Parameters
verbosedefines whether logging should be verbose or not

Definition at line 52 of file logger_support.cc.

References isc::log::LoggerSpecification::addOutputOption(), DEBUG, isc::log::OutputOption::DEST_CONSOLE, isc::log::OutputOption::DEST_FILE, isc::log::OutputOption::DEST_SYSLOG, isc::log::OutputOption::destination, isc::log::OutputOption::facility, isc::log::OutputOption::filename, getRootLoggerName(), INFO, keaLoggerDbglevel(), keaLoggerSeverity(), MAX_DEBUG_LEVEL, isc::log::LoggerManager::process(), isc::log::OutputOption::STR_STDERR, isc::log::OutputOption::STR_STDOUT, and isc::log::OutputOption::stream.

Referenced by initLogger(), and isc::process::Daemon::loggerInit().

+ Here is the call graph for this function:

◆ setLoggingInitialized()

void isc::log::setLoggingInitialized ( bool  state = true)

Set state of "logging initialized" flag.

Parameters
stateState to set the flag to. (This is expected to be "true" - the default - for all code apart from specific unit tests.)

Definition at line 36 of file logger_support.cc.

Referenced by isc::log::LoggerManager::init().

◆ setRootLoggerName()

void isc::log::setRootLoggerName ( const std::string &  name)

Set root logger name.

This function should be called by the program's initialization code before any logging functions are called.

Parameters
nameName of the root logger. This should be the program name.

Definition at line 29 of file logger_name.cc.

Referenced by isc::log::LoggerManager::init(), and isc::log::LoggerManager::reset().

Variable Documentation

◆ DBGLVL_COMMAND

const int isc::log::DBGLVL_COMMAND = 10
extern

This debug level is reserved for logging the exchange of messages/commands between processes, including configuration messages.

Definition at line 54 of file log_dbglevels.h.

Referenced by isc::agent::CtrlAgentCommandMgr::handleCommand(), and isc::process::DCfgMgrBase::simpleParseConfig().

◆ DBGLVL_COMMAND_DATA

const int isc::log::DBGLVL_COMMAND_DATA = 20
extern

If the commands have associated data, this level is when they are printed.

This includes configuration messages.

Definition at line 62 of file log_dbglevels.h.

◆ DBGLVL_PKT_HANDLING

◆ DBGLVL_START_SHUT

const int isc::log::DBGLVL_START_SHUT = 0
extern

This is given a value of 0 as that is the level selected if debugging is enabled without giving a level.

Process startup/shutdown debug messages.

Note that these are debug messages, as other messages related to startup and shutdown may be output with another severity. For example, when the authoritative server starts up, the "server started" message could be output at a severity of INFO. "Server starting" and messages indicating the stages in startup should be debug messages output at this severity.

Definition at line 50 of file log_dbglevels.h.

Referenced by isc::d2::D2Process::canShutdown(), isc::d2::D2Process::checkQueueStatus(), isc::process::DControllerBase::initProcess(), isc::process::DControllerBase::launch(), isc::process::DControllerBase::processSignal(), isc::agent::CtrlAgentProcess::run(), isc::d2::D2Process::run(), isc::netconf::NetconfProcess::run(), isc::process::DControllerBase::runProcess(), isc::d2::D2Process::shutdown(), and isc::d2::D2QueueMgr::startListening().

◆ DBGLVL_TRACE_BASIC

◆ DBGLVL_TRACE_BASIC_DATA

const int isc::log::DBGLVL_TRACE_BASIC_DATA = 45
extern

Trace data associated with the basic operations.

Definition at line 72 of file log_dbglevels.h.

Referenced by isc::http::HttpConnection::socketReadCallback().

◆ DBGLVL_TRACE_DETAIL

◆ DBGLVL_TRACE_DETAIL_DATA

◆ LOG_BAD_DESTINATION

const isc::log::MessageID isc::log::LOG_BAD_DESTINATION = "LOG_BAD_DESTINATION"
extern

Definition at line 11 of file log_messages.h.

Referenced by getDestination().

◆ LOG_BAD_SEVERITY

const isc::log::MessageID isc::log::LOG_BAD_SEVERITY = "LOG_BAD_SEVERITY"
extern

Definition at line 12 of file log_messages.h.

Referenced by getSeverity().

◆ LOG_BAD_STREAM

const isc::log::MessageID isc::log::LOG_BAD_STREAM = "LOG_BAD_STREAM"
extern

Definition at line 13 of file log_messages.h.

Referenced by getStream().

◆ LOG_DUPLICATE_MESSAGE_ID

const isc::log::MessageID isc::log::LOG_DUPLICATE_MESSAGE_ID = "LOG_DUPLICATE_MESSAGE_ID"
extern

Definition at line 14 of file log_messages.h.

Referenced by isc::log::LoggerManager::logDuplicatedMessages().

◆ LOG_DUPLICATE_NAMESPACE

const isc::log::MessageID isc::log::LOG_DUPLICATE_NAMESPACE = "LOG_DUPLICATE_NAMESPACE"
extern

Definition at line 15 of file log_messages.h.

◆ LOG_INPUT_OPEN_FAIL

const isc::log::MessageID isc::log::LOG_INPUT_OPEN_FAIL = "LOG_INPUT_OPEN_FAIL"
extern

Definition at line 16 of file log_messages.h.

Referenced by isc::log::MessageReader::readFile().

◆ LOG_INVALID_MESSAGE_ID

const isc::log::MessageID isc::log::LOG_INVALID_MESSAGE_ID = "LOG_INVALID_MESSAGE_ID"
extern

Definition at line 17 of file log_messages.h.

◆ LOG_NAMESPACE_EXTRA_ARGS

const isc::log::MessageID isc::log::LOG_NAMESPACE_EXTRA_ARGS = "LOG_NAMESPACE_EXTRA_ARGS"
extern

Definition at line 18 of file log_messages.h.

◆ LOG_NAMESPACE_INVALID_ARG

const isc::log::MessageID isc::log::LOG_NAMESPACE_INVALID_ARG = "LOG_NAMESPACE_INVALID_ARG"
extern

Definition at line 19 of file log_messages.h.

◆ LOG_NAMESPACE_NO_ARGS

const isc::log::MessageID isc::log::LOG_NAMESPACE_NO_ARGS = "LOG_NAMESPACE_NO_ARGS"
extern

Definition at line 20 of file log_messages.h.

◆ LOG_NO_MESSAGE_ID

const isc::log::MessageID isc::log::LOG_NO_MESSAGE_ID = "LOG_NO_MESSAGE_ID"
extern

Definition at line 21 of file log_messages.h.

◆ LOG_NO_MESSAGE_TEXT

const isc::log::MessageID isc::log::LOG_NO_MESSAGE_TEXT = "LOG_NO_MESSAGE_TEXT"
extern

Definition at line 22 of file log_messages.h.

◆ LOG_NO_SUCH_MESSAGE

const isc::log::MessageID isc::log::LOG_NO_SUCH_MESSAGE = "LOG_NO_SUCH_MESSAGE"
extern

Definition at line 23 of file log_messages.h.

Referenced by isc::log::LoggerManager::readLocalMessageFile().

◆ LOG_OPEN_OUTPUT_FAIL

const isc::log::MessageID isc::log::LOG_OPEN_OUTPUT_FAIL = "LOG_OPEN_OUTPUT_FAIL"
extern

Definition at line 24 of file log_messages.h.

Referenced by writeHeaderFile(), and writeProgramFile().

◆ LOG_PREFIX_EXTRA_ARGS

const isc::log::MessageID isc::log::LOG_PREFIX_EXTRA_ARGS = "LOG_PREFIX_EXTRA_ARGS"
extern

Definition at line 25 of file log_messages.h.

◆ LOG_PREFIX_INVALID_ARG

const isc::log::MessageID isc::log::LOG_PREFIX_INVALID_ARG = "LOG_PREFIX_INVALID_ARG"
extern

Definition at line 26 of file log_messages.h.

◆ LOG_READ_ERROR

const isc::log::MessageID isc::log::LOG_READ_ERROR = "LOG_READ_ERROR"
extern

Definition at line 28 of file log_messages.h.

Referenced by isc::log::MessageReader::readFile().

◆ LOG_READING_LOCAL_FILE

const isc::log::MessageID isc::log::LOG_READING_LOCAL_FILE = "LOG_READING_LOCAL_FILE"
extern

Definition at line 27 of file log_messages.h.

Referenced by isc::log::LoggerManager::readLocalMessageFile().

◆ LOG_UNRECOGNIZED_DIRECTIVE

const isc::log::MessageID isc::log::LOG_UNRECOGNIZED_DIRECTIVE = "LOG_UNRECOGNIZED_DIRECTIVE"
extern

Definition at line 29 of file log_messages.h.

◆ LOG_WRITE_ERROR

const isc::log::MessageID isc::log::LOG_WRITE_ERROR = "LOG_WRITE_ERROR"
extern

Definition at line 30 of file log_messages.h.

Referenced by writeHeaderFile(), and writeProgramFile().

◆ LOGIMPL_ABOVE_MAX_DEBUG

const isc::log::MessageID isc::log::LOGIMPL_ABOVE_MAX_DEBUG = "LOGIMPL_ABOVE_MAX_DEBUG"
extern

Definition at line 11 of file logimpl_messages.h.

Referenced by isc::log::LoggerLevelImpl::logLevelFromString().

◆ LOGIMPL_BAD_DEBUG_STRING

const isc::log::MessageID isc::log::LOGIMPL_BAD_DEBUG_STRING = "LOGIMPL_BAD_DEBUG_STRING"
extern

Definition at line 12 of file logimpl_messages.h.

Referenced by isc::log::LoggerLevelImpl::logLevelFromString().

◆ LOGIMPL_BELOW_MIN_DEBUG

const isc::log::MessageID isc::log::LOGIMPL_BELOW_MIN_DEBUG = "LOGIMPL_BELOW_MIN_DEBUG"
extern

Definition at line 13 of file logimpl_messages.h.

Referenced by isc::log::LoggerLevelImpl::logLevelFromString().

◆ MAX_DEBUG_LEVEL

◆ MIN_DEBUG_LEVEL