nob.h icon indicating copy to clipboard operation
nob.h copied to clipboard

Allow customization of nob_log

Open bynect opened this issue 3 months ago • 0 comments

It would be nice to be able to modify the logging output without patching the nob.h source code. The most painless ways that I can come up with are:

  • gating the definition of nob_log with NOB_NO_LOG, so the user must provide a nob_log() function themselves
  • making nob_log a macro that users can override before including nob.h

This would be useful for example for colored output

bynect avatar Sep 12 '25 19:09 bynect