log - Node documentation
function log

Usage in Deno

import { log } from "node:util";
log(string: string): void
Deprecated

Since v6.0.0 - Use a third party module instead.

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

const util = require('node:util');

util.log('Timestamped message.');

Parameters

string: string

Return Type

void