mirror of
https://github.com/robotn/gohook.git
synced 2024-12-05 04:36:54 +08:00
16 lines
211 B
C
16 lines
211 B
C
|
|
||
|
#ifndef _included_logger
|
||
|
#define _included_logger
|
||
|
|
||
|
#include "iohook.h"
|
||
|
#include <stdbool.h>
|
||
|
|
||
|
#ifndef __FUNCTION__
|
||
|
#define __FUNCTION__ __func__
|
||
|
#endif
|
||
|
|
||
|
// logger(level, message)
|
||
|
extern logger_t logger;
|
||
|
|
||
|
#endif
|