Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly bind logging procs in templates (#168)
* Explicitly bind logging procs in templates The logging templates in `logger` reference procs like `error`, `info`, `warn` etc. from the `logging` module. These are implicitly bound, as they have exactly 1 overload in the scope of the template definitions (nim-lang/Nim#11184). If this behavior of Nim or the context in `logger` were to change, these would start preferring procs like `macros.error` instead and cause issues. Explicitly binding them keeps the current behavior consistent. An alternative would be to directly call `logging.error join(args)` etc. * also update frameLog
- Loading branch information