Working on skeleton for logging.
Don't quite have the most elegant method, yet.