Removed fixTimestamp() and castTimestamp() as it won't properly work
Added logging 
Supporting PSR-3 compatible loggers (only)