console logging extension