Client-side and Node.js Logger Helper