FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rawhttps/src/logger.h at master · felipeek/rawhttps · GitHub
felipeek
/
rawhttps
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
rawhttps
/
src
/
logger.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (19 loc) · 768 Bytes
Breadcrumbs
rawhttps
/
src
/
logger.h
Copy path
File metadata and controls
21 lines (19 loc) · 768 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef
RAWHTTPS_LOGGER_H
#define
RAWHTTPS_LOGGER_H
typedef
enum
{
RAWHTTPS_LOG_LEVEL_DISABLED
=
0
,
RAWHTTPS_LOG_LEVEL_DEBUG
=
1
,
RAWHTTPS_LOG_LEVEL_INFO
=
2
,
RAWHTTPS_LOG_LEVEL_WARNING
=
3
,
RAWHTTPS_LOG_LEVEL_ERROR
=
4
,
}
rawhttps_log_level
;
void
rawhttps_logger_init
(
rawhttps_log_level
level
);
void
rawhttps_logger_destroy
();
void
rawhttps_logger_log
(
rawhttps_log_level
log_level
,
const
char
*
msg
);
void
rawhttps_logger_log_debug
(
const
char
*
format
, ...);
void
rawhttps_logger_log_info
(
const
char
*
format
, ...);
void
rawhttps_logger_log_warning
(
const
char
*
format
, ...);
void
rawhttps_logger_log_error
(
const
char
*
format
, ...);
void
rawhttps_logger_log_hex
(
rawhttps_log_level
level
,
const
char
*
msg
,
const
unsigned
char
*
data
,
int
size
);
#endif
Back
|
FazBrowse Home
|
New Git URL