Skip to content

About

Do some promotions on log4c lib for personal requirements.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

log4c_Promotions

Do some promotions on log4c lib for personal requirements

Log4c is an open source lib.

Promotions :

  1. add some macro definitions.

In details, I add some macro definitions in log4c.h, just like WARNING_LOG FATAL_LOG

Usually, you can do some initional in main.cpp/main.c like LOG_INIT()

some code....

LOG_UINIT()

WARNING_LOG(fmt,arg...),DEBUG_LOG(fmt,arg...),FATAL_LOG(fmt,arg...),NOTICE_LOG(fmt,arg...)

By using macro definitions as above, __FILE__ and __LINE__ will be found in log file.

About

Do some promotions on log4c lib for personal requirements.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages