Node.js logging utility