|
Aruna
|
#include <log.h>
Public Member Functions | |
| channel_t (const char *name, level_t level=default_level) | |
| ~channel_t () | |
| int | verbose (const char *format,...) |
| log verbose message More... | |
| int | debug (const char *format,...) |
| log debug message More... | |
| int | info (const char *format,...) |
| log info message More... | |
| int | warning (const char *format,...) |
| log warning message More... | |
| int | error (const char *format,...) |
| log error message More... | |
| int | dump (level_t level, uint8_t *bin, size_t size) |
| dump array of bin data More... | |
| bool | operator< (const channel_t &b) const |
| bool | operator== (const char *name) const |
Public Attributes | |
| const char * | name |
| Channel name, used to identify. More... | |
| level_t | level = default_level |
| max log level of channel More... | |
| err_t | startup_status = err_t::NOT_STARTED |
| Contains the error happens at construction. More... | |
Private Member Functions | |
| int | print (level_t level, const char *format) |
| int | out (const char *format,...) |
| unsigned long | epoch () |
| aruna::log::channel_t::channel_t | ( | const char * | name, |
| level_t | level = default_level |
||
| ) |
| aruna::log::channel_t::~channel_t | ( | ) |
| int aruna::log::channel_t::debug | ( | const char * | format, |
| ... | |||
| ) |
| int aruna::log::channel_t::dump | ( | level_t | level, |
| uint8_t * | bin, | ||
| size_t | size | ||
| ) |
dump array of bin data
| level | log level |
| bin | pointer to array |
| size | size of array |
Definition at line 135 of file log.cpp.


|
private |
| int aruna::log::channel_t::error | ( | const char * | format, |
| ... | |||
| ) |
| int aruna::log::channel_t::info | ( | const char * | format, |
| ... | |||
| ) |
|
inline |
|
inline |
|
private |
|
private |
Definition at line 103 of file log.cpp.


| int aruna::log::channel_t::verbose | ( | const char * | format, |
| ... | |||
| ) |
| int aruna::log::channel_t::warning | ( | const char * | format, |
| ... | |||
| ) |
| level_t aruna::log::channel_t::level = default_level |
| const char* aruna::log::channel_t::name |
| err_t aruna::log::channel_t::startup_status = err_t::NOT_STARTED |