Stability: 0 - Deprecated: Use a third party module instead.

    • string {string}

    The util.log() method prints the given string to stdout with an included timestamp.

    1. const util = require('util');
    2. util.log('Timestamped message.');