Using the console transport instead of process.stdout.write.
Enabling the console mode.
Making it possible to change the log level.
Chaining the winston logger to file.