New log function with levels.
Changes the log functions on Processor.
Changes all log functions to new ones.
Fixes merge conflicts