Rework logging
Problem
Current logging implementation requires a logger
struct to be passed to any function trying to log anything. This produces an unnecessary amount of overhead and a smarter rework of the logging system would fix this easily.
Goal
The goal is to replace all logging functionality with macros that print to stderr
if logging on said stage is enabled.