Console log reimplementation.