mirror of
https://github.com/robotn/gohook.git
synced 2024-11-22 02:56: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
|