33 #define MY_LOG_WARN(message) TE_CORE_LOG_WARN("mylogger", message) 34 #define MY_LOG_FATAL(message) TE_CORE_LOG_FATAL("mylogger", message) 35 #define MY_LOG_DEBUG(message) TE_CORE_LOG_DEBUG("mylogger", message) 37 int main(
int argc,
char *argv[])
55 TE_ADD_LOGGER(
"mylogger",
"log/mylogs.log",
"[%TimeStamp%]{%ThreadID%} %Process%(%ProcessID%) <%Severity%>: %Message%");
#define TE_ADD_LOGGER_FROM_FILE(filename)
Use this tag to init a logger using a configuration file.
#define TE_CORE_LOG_DEBUG(channel, message)
Use this tag in order to log a message to a specified logger with the DEBUG level.
#define TE_LOG_INFO(message)
Use this tag in order to log a message to the TerraLib default logger with the INFO level...
int main(int argc, char *argv[])
#define TE_INIT_DEFAULT_LOGGER(filename)
Use this tag in order to initialize the default TerraLib logger.
#define MY_LOG_DEBUG(message)
#define TE_ADD_LOGGER(name, filename, format)
Use this tag to init a logger using a default implementation without a configuration file...
#define MY_LOG_WARN(message)
This class is designed to manage the log of information in TerraLib.
#define TE_LOG_TRACE(message)
Use this tag in order to log a message to the TerraLib default logger with the TRACE level...
TECOREEXPORT std::string FindInTerraLibPath(const std::string &path)
Returns the path relative to a directory or file in the context of TerraLib.
#define TE_LOG_ERROR(message)
Use this tag in order to log a message to the TerraLib default logger with the ERROR level...
#define MY_LOG_FATAL(message)