This class is designed to manage the log of information in TerraLib.
More...
Go to the source code of this file.
This class is designed to manage the log of information in TerraLib.
Definition in file Logger.h.
#define TE_LOG_ASSERT |
( |
|
condition, |
|
|
|
msg |
|
) |
| ((void)0) |
Use this tag in order to log a message to a specified logger with the ASSERT level.
- Parameters
-
condition | An expression (condition). If it is not true, the message will be logged. |
msg | The message to be logged. Example: "Exception raised because of a missing parameter!". |
- Note
- The ASSERT level can be used to check expressions that must be evaluated as true.
Definition at line 62 of file Logger.h.
#define TE_LOG_DEBUG |
( |
|
msg | ) |
((void)0) |
Use this tag in order to log a message to a specified logger with the DEBUG level.
- Parameters
-
msg | The message to be logged. Example: "Exception raised because of a missing parameter!". |
- Note
- The DEBUG Level designates fine-grained informational events that are most useful to debug an application.
Definition at line 122 of file Logger.h.
#define TE_LOG_ERROR |
( |
|
msg | ) |
((void)0) |
Use this tag in order to log a message to a specified logger with the ERROR level.
- Parameters
-
msg | The message to be logged. Example: "Exception raised because of a missing parameter!". |
- Note
- The ERROR level designates error events that might still allow the application to continue running.
Definition at line 77 of file Logger.h.
#define TE_LOG_FATAL |
( |
|
msg | ) |
((void)0) |
Use this tag in order to log a message to a specified logger with the FATAL level.
- Parameters
-
msg | The message to be logged. Example: "Exception raised because of a missing parameter!". |
- Note
- The FATAL level designates very severe error events that will presumably lead the application to abort.
Definition at line 46 of file Logger.h.
#define TE_LOG_INFO |
( |
|
msg | ) |
((void)0) |
Use this tag in order to log a message to a specified logger with the INFO level.
- Parameters
-
msg | The message to be logged. Example: "Exception raised because of a missing parameter!". |
- Note
- The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
Definition at line 107 of file Logger.h.
#define TE_LOG_TRACE |
( |
|
msg | ) |
((void)0) |
Use this tag in order to log a message to a specified logger with the TRACE level.
- Parameters
-
msg | The message to be logged. Example: "Exception raised because of a missing parameter!". |
- Note
- The TRACE Level designates finer-grained informational events than the DEBUG.
Definition at line 137 of file Logger.h.
#define TE_LOG_WARN |
( |
|
msg | ) |
((void)0) |
Use this tag in order to log a message to a specified logger with the WARN level.
- Parameters
-
msg | The message to be logged. Example: "Exception raised because of a missing parameter!". |
- Note
- The WARN level designates potentially harmful situations.
Definition at line 92 of file Logger.h.
It sets the default type of file used to configure the logger.
- Note
- See LoggerConfigurationType enum for more information about possible values for this macro.
Definition at line 165 of file Logger.h.
#define TERRALIB_LOGGER_DEFAULT_CONFIGURATION_FILE "share/terralib/config/te-log.conf" |
#define TERRALIB_LOGGER_DEFAULT_NAME "terralib" |
This is the fully qualified TerraLib root logger.
- Note
- If you are developing a new module and want to have your own log configuration file, please give it a name starting with "terralib.your-module-name". So it will belong to TerraLib loggers tree.
Definition at line 149 of file Logger.h.