Logy v1.2.1
common.h File Reference

Common Logy library functions. More...

#include <stdint.h>
#include <assert.h>

Macros

#define OFF_LOG_LEVEL   0
#define FATAL_LOG_LEVEL   1
#define ERROR_LOG_LEVEL   2
#define WARN_LOG_LEVEL   3
#define INFO_LOG_LEVEL   4
#define DEBUG_LOG_LEVEL   5
#define TRACE_LOG_LEVEL   6
#define ALL_LOG_LEVEL   7
#define LOG_LEVEL_COUNT   8

Typedefs

typedef uint8_t LogLevel
 Log level type.
typedef uint8_t LogyResult
 Logy result code type.

Enumerations

enum  LogyResult_T {
  SUCCESS_LOGY_RESULT = 0 , FAILED_TO_ALLOCATE_LOGY_RESULT = 1 , FAILED_TO_OPEN_FILE_LOGY_RESULT = 2 , FAILED_TO_GET_DIRECTORY_LOGY_RESULT = 3 ,
  LOGY_RESULT_COUNT = 4
}
 Logy result codes.

Detailed Description

Common Logy library functions.