macOS
brew install zloglocal Homebrew formula metadata
sudo port install zlogMacPorts ports tree · devel/zlog/Portfile · source: api.github.com
brew
High-performance C logging library. Version 1.2.18 via Homebrew; verified from local package data.
install
brew install zloglocal Homebrew formula metadata
sudo port install zlogMacPorts ports tree · devel/zlog/Portfile · source: api.github.com
sudo apt install libzlog-devDebian stable package indexes · libzlog-dev · source: deb.debian.org
nix profile install nixpkgs#zlognixpkgs package indexes · pkgs/by-name/zl/zlog/package.nix · source: api.github.com
overview
High-performance C logging library
history
zlog is a pure-C logging library by Hardy Simpson, written to provide application-style logging features for C programs without external dependencies beyond POSIX and C runtime facilities.
The GitHub repository was created in 2011. The README and user's guide explain the author's motivation directly: printf is hard to redirect or reformat, syslog is oriented toward system logging, and C lacked a convenient logging library comparable to logback or log4cxx for application developers.
The library's model centers on categories, formats, and rules. That makes it closer to configurable application logging frameworks than to a tiny header-only debug macro.
Public source material is thin, but zlog persisted as a packaged C library because it solved a narrow systems-programming need: configurable, thread-aware logging with file rotation, multiple destinations, and a small dependency footprint.
A C program initializes zlog with a configuration file, obtains a category, writes messages through zlog macros or functions, and finalizes the library during shutdown. Configuration rules decide level, destination, and format, so logging behavior can change without recompiling the application.
The bundled zlog-chk-conf utility is useful for checking configuration files before an application relies on them.
zlog is package-nerd glue: not flashy, but exactly the sort of small C library that shows up when older or portable software needs structured logging without adopting a large framework. Its documentation is unusually explicit about why it exists and what it replaces.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
zlog-chk-conf | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/HardySimpson/zlog
install metadata
| Package key | brew:zlog |
|---|---|
| Version | 1.2.18 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/zlog |
| Homepage | https://github.com/HardySimpson/zlog |
| Repository | https://github.com/HardySimpson/zlog |
| Upstream docs | https://github.com/HardySimpson/zlog#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/HardySimpson/zlog/archive/refs/tags/1.2.18.tar.gz |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | zlog |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libzlog-dev 1.2.18-1+b1
mutli features pure C logging library -- development files
https://github.com/HardySimpson/zlog
sudo apt install libzlog-devlibzlog1 1.2.18-1+b1
mutli features pure C logging library -- runtime library
https://github.com/HardySimpson/zlog
sudo apt install libzlog1zlog
nix profile install nixpkgs#zlogzlog
sudo port install zlogsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.