Dirty logging.
Cleaned up logging an created logging Nuget packages.