随笔分类 -  log4c

摘要:my log4crc<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE log4c SYSTEM ""><log4c version="1.2.1"><config><bufsize>0</bufsize><debug level="2"/><nocleanup>0</nocleanup><reread>1</rere 阅读全文
posted @ 2011-07-27 19:07 wangkangluo1 阅读(567) 评论(0) 推荐(0) 编辑
摘要:始<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE log4c SYSTEM ""><log4c version="1.2.1"> <config> <bufsize>0</bufsize> <debug level="2"/> <nocleanup>0</nocleanup> <reread>1</reread&g 阅读全文
posted @ 2011-07-27 17:44 wangkangluo1 阅读(3750) 评论(2) 推荐(0) 编辑
摘要:log4c.c#include <stdio.h>#include "log4c.h"int main(int argc, char** argv){ int rc = 0; char *test = "test strings"; log4c_category_t* mycat = NULL; if (log4c_init()){ printf("log4c_init() failed"); rc = 1; }else{ mycat = log4c_category_get("log4c.examples.he 阅读全文
posted @ 2011-07-11 16:30 wangkangluo1 阅读(2134) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示