Log messages with debug levels to the log file.

At the moment when logging messages in plugins with a level lower than `INFO` they are just ignored, not displayed in the console and also not written to the log file. The lower log levels can be used to log messages that aren't important for server owners when looking at the server console, but can be useful when reporting errors.