ANSI C functions and macros for flexible logging to files and other destinations.
It is modeled after the Log for Java library (http://www.log4j.org), staying as close to their API as is reasonable.
Intended for use in time-space critical environments

Project Activity

See All Activity >

Categories

Logging

Follow Logging Framework for C

Logging Framework for C Web Site

Other Useful Business Software

2018 Thomson Reuters Top 100 Global Tech Leaders 2018 Thomson Reuters Top 100 Global Tech Leaders Icon
2018 Thomson Reuters Top 100 Global Tech Leaders Icon

See how tech-sector leadership is being redefined in today’s complex business environment.

21st century technology-sector leadership requires not only optimal financial performance but also attention to many other factors, including management and investor confidence, risk and resilience, legal compliance, innovation, environmental impact, social responsibility, and reputation. Successfully managing these areas may determine which tech companies have the fortitude to succeed in the future. Here’s to those that made the list.
Who are today’s top global tech leaders?
Read the report

Rate This Project

Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
2
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • I am new to log4c. Could someone explain how can i use log4c to write logs to a log server? Thanks on advance.

  • /* user of version 1.2.{0,1}, in C project on Linux */ Log4c is fine for small project that can afford having configuration files. For larger project with a lot of processes it quickly becomes a pain to maintain thoses configuration files. And on-the-fly configuration was a pain with log4c I was disappointed by: * the use of mutexes in the logging handler, causing deadlocks when calling a logging function in a signal handler. * the strange behavior when overriding a category's logger (message dupplication). * the end-of-support and the no-answer received for support requests. * the removal of log4c from some big and official Linux distribution (i.e. Fedora Core 17) I found really easier to use the Gnome Library (GLib2.0) internal logging support. Now is my life easier, happier.

  • log4c is out of date, try zlog! http:[[hardysimpson.github.com/zlog

Read more reviews >

Additional Project Details

Languages

English

Intended Audience

Developers

Programming Language

C

Registered

2001-10-25