feature(logger): Adds a custom logger class

Adds a logger that can be used to output fatal error messages. Could
also be an entry point to more flexibility later on.