projects
/
fw
/
stlink
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implement and expose single 32 memory read/write
[fw/stlink]
/
src
/
uglylogging.h
1
/*
2
* Ugly, low performance, configurable level, logging "framework"
3
*/
4
5
#ifndef UGLYLOGGING_H
6
#define UGLYLOGGING_H
7
8
#ifdef __cplusplus
9
extern "C" {
10
#endif
11
12
#define UDEBUG 90
13
#define UINFO 50
14
#define UWARN 30
15
#define UERROR 20
16
#define UFATAL 10
17
18
int ugly_init(int maximum_threshold);
19
int ugly_log(int level, const char *tag, const char *format, ...);
20
21
22
#ifdef __cplusplus
23
}
24
#endif
25
26
#endif /* UGLYLOGGING_H */
27