[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [master] logging: refactor printLogHeader



> const char log_level_to_str = { ..., ... }
> and keep it in sync with constant definitions of DEBUGLEVEL et al.?

Yeah, something like that does seem more clean to me, too.  The log
levels haven't changed in years and aren't likely to, so keeping things
in sync should be really easy.

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]