* This module implement a simple interface to use the multi level logging system.
* The log message have the priority order, like this:
*
- * - #error message (most hight)
- * - #warning message
- * - #info message (most low)
+ * - error message (most hight)
+ * - warning message
+ * - info message (most low)
*
* With this priority system we can log only the message that have egual or major
* priority than log level that you has been configurate. Further you can have a
* To use logging system you should include this module in your drive and use
* a LOG_ERROR, LOG_WARNING and LOG_INFO macros to set the level log of the message.
* Then you should define a LOG_LEVEL and LOG_VERBOSE costant in your
- * \c cfg/cfg_<your_module_name>.h using the follow police:
+ * \c cfg/cfg_\<your_module_name\>.h using the follow police:
*
- * - in your file \c cfg/cfg_<module_name>.h, you define the logging
+ * - in your file \c cfg/cfg_\<module_name\>.h, you define the logging
* level and verbosity mode for your specific module:
*
* \code
*
- * **
+ * **
* * Logging level definition.
* *
* * Use 0 to log only the error messages
* \brief Declare application version strings
*/
+
#ifndef BERTOS_VERSTAG_H
#define BERTOS_VERSTAG_H
#define APP_AUTHOR "Develer"
#define APP_COPYRIGHT "Copyright 2006 Develer (http://www.develer.com/)"
-#if (ARCH & ARCH_FOO)
+
+#if ARCH & ARCH_FOO
#define VERS_MAJOR 0
#define VERS_MINOR 1
#define VERS_REV 0
#define VERS_LETTER ""
-#elif (ARCH & ARCH_BAR)
+#elif ARCH & ARCH_BAR
#define VERS_MAJOR 0
#define VERS_MINOR 1
#define VERS_REV 0