Replaced custom Logger with logging package

Allows others to change the log level of spectre and disable the output completely.