TI Utilities API
Data Structures | Macros | Typedefs | Enumerations
Log.h File Reference
#include <stdint.h>
#include <stddef.h>
Include dependency graph for Log.h:

Go to the source code of this file.

Data Structures

struct  Log_Module
 

Macros

#define Log_MODULE_DEFINE(...)
 
#define Log_MODULE_DEFINE_WEAK(name, init)
 
#define Log_MODULE_USE(...)
 
#define Log_EVENT_DEFINE(name, fmt)
 
#define Log_EVENT_USE(name, fmt)
 
#define Log_printf(module, level, ...)
 
#define Log_event(module, level, ...)
 
#define Log_buf(module, level, ...)
 
#define _Log_DEFINE_LOG_VERSION(module, version)
 

Typedefs

typedef enum Log_Level Log_Level
 
typedef const struct Log_Module Log_Module
 
typedef void(* Log_printf_fxn) (const Log_Module *handle, uint32_t header, uint32_t headerPtr, uint32_t numArgs,...)
 
typedef void(* Log_buf_fxn) (const Log_Module *handle, uint32_t header, uint32_t headerPtr, uint8_t *data, size_t size)
 

Enumerations

enum  Log_Level {
  Log_DEBUG = 1,
  Log_VERBOSE = 4,
  Log_INFO = 16,
  Log_WARNING = 64,
  Log_ERROR = 256,
  Log_ALL = 1 + 4 + 16 + 64 + 256,
  Log_ENABLED = 512
}
 
© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale