28 Star 77 Fork 27

liexusong / bolt

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
log.h 268 Bytes
Copy Edit Web IDE Raw Blame History
liexusong authored 2015-08-28 00:25 . add log feature
#ifndef __BOLT_LOG_H
#define __BOLT_LOG_H
#define BOLT_LOG_DEBUG 0
#define BOLT_LOG_NOTICE 1
#define BOLT_LOG_ALERT 2
#define BOLT_LOG_ERROR 3
int bolt_init_log(char *file, int mark);
void bolt_log(int level, char *fmt, ...);
void bolt_destroy_log();
#endif

Comment ( 0 )

Sign in for post a comment

C
1
https://git.oschina.net/liexusong/bolt.git
git@git.oschina.net:liexusong/bolt.git
liexusong
bolt
bolt
master

Search