Skip to content

Ratakor/axe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Axe 🪓

A fully customizable, drop-in replacement for std.Options.LogFn with support for multiple file logging (custom writer supported), buffering, JSON, time, custom format, colors (automatic tty detection, windows support, NO_COLOR support, CLICOLOR_FORCE support), source location, and thread safety (multiple mutex interface available)!

Usage

Add it to an existing project with this command:

zig fetch --save git+https://github.com/Ratakor/axe

Then add the module your build.zig.

const axe = b.dependency("axe", .{}).module("axe");
exe.root_module.addImport("axe", axe);

Check example.zig for how to use it!

API Documentation