Log to console in production and debug (#10)