Class NopLogger
java.lang.Object
com.aquima.interactions.foundation.logging.NopLogger
- All Implemented Interfaces:
Logger
Logger implementation that does not do any logging
- Since:
- 8.1
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Allows an object to be logged in conjunction with a cause to the underlying logging system.void
Allows an object to be logged in conjunction with a cause to the underlying logging system.void
Allows an object to be logged in conjunction with a cause to the underlying logging system.void
Allows an object to be logged in conjunction with a cause to the underlying logging system.void
Allows an object to be logged in conjunction with a cause to the underlying logging system.void
Allows an object to be logged in conjunction with a cause to the underlying logging system.void
Allows an object to be logged in conjunction with a cause to the underlying logging system.boolean
This function can be queried to choose whether to actually log certain debug statements.boolean
This function can be queried to choose whether to actually log certain error statements.boolean
This function can be queried to choose whether to actually log certain info statements.boolean
This function can be queried to choose whether to actually log certain trace statements.boolean
This function can be queried to choose whether to actually log certain warning statements.void
Allows an object to be logged in conjunction with a cause to the underlying logging system.void
Allows an object to be logged in conjunction with a cause to the underlying logging system.void
Allows an object to be logged in conjunction with a cause to the underlying logging system.
-
Constructor Details
-
Method Details
-
trace
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems trace is enabled the log will be printed. -
debug
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems debug is enable the log will be printed. -
debug
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems debug is enabled the log will be printed. -
error
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems error level is enabled the log will be printed. Errors are important in keeping the system running. In case of error the system is (or will be in danger of) crashing. The Error level should always be part of the output system and visible to system administrators. -
error
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems error level is enabled the log will be printed. Errors are important in keeping the system running. In case of error the system is (or will be in danger of) crashing. The Error level should always be part of the output system and visible to system administrators. -
info
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems info level is enabled the log will be printed. Info is a 'higher level' message then debug. One can expect at least info will be printed as debug is quite superfluous. Info messages are purely environmental informational and should not be used as method of 'warning' the user. -
info
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems info level is enabled the log will be printed. Info is a 'higher level' message then debug. One can expect at least info will be printed as debug is quite superfluous. Info messages are purely environmental informational and should not be used as method of 'warning' the user. -
info
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems info level is enabled the log will be printed. Info is a 'higher level' message then debug. One can expect at least info will be printed as debug is quite superfluous. Info messages are purely environmental informational and should not be used as method of 'warning' the user. -
warning
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems warning level is enabled the log will be printed. Warnings are important in keeping the system in healthy operation mode. As a warning may cause problems in later stages. Facts learn us that given enough time they always do. The Warning level should always be part of the output system and visible to system administrators. -
warning
Description copied from interface:Logger
Allows an object to be logged in conjunction with a cause to the underlying logging system. If the logging systems warning level is enabled the log will be printed. Warnings are important in keeping the system in healthy operation mode. As a warning may cause problems in later stages. Facts learn us that given enough time they always do. The Warning level should always be part of the output system and visible to system administrators. -
isTraceEnabled
public boolean isTraceEnabled()Description copied from interface:Logger
This function can be queried to choose whether to actually log certain trace statements. Trace message output should be low since string concatenations etc are expensive operations which should generally be avoided.- Specified by:
isTraceEnabled
in interfaceLogger
- Returns:
- A boolean indicating that trace messaging is enabled.
-
isDebugEnabled
public boolean isDebugEnabled()Description copied from interface:Logger
This function can be queried to choose whether to actually log certain debug statements. Debugging message output should be low since string concatenations etc are expensive operations which should generally be avoided.- Specified by:
isDebugEnabled
in interfaceLogger
- Returns:
- A boolean indicating that debug messaging is enabled.
-
isInfoEnabled
public boolean isInfoEnabled()Description copied from interface:Logger
This function can be queried to choose whether to actually log certain info statements.- Specified by:
isInfoEnabled
in interfaceLogger
- Returns:
- A boolean indicating that info messaging is enabled.
-
isWarningEnabled
public boolean isWarningEnabled()Description copied from interface:Logger
This function can be queried to choose whether to actually log certain warning statements.- Specified by:
isWarningEnabled
in interfaceLogger
- Returns:
- A boolean indicating that warning messaging is enabled.
-
isErrorEnabled
public boolean isErrorEnabled()Description copied from interface:Logger
This function can be queried to choose whether to actually log certain error statements.- Specified by:
isErrorEnabled
in interfaceLogger
- Returns:
- A boolean indicating that error messaging is enabled.
-