Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/log/mod.ts>LogRecord

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class LogRecord
import { LogRecord } from "https://deno.land/std@0.196.0/log/mod.ts";

An object that encapsulates provided message and arguments as well some metadata that can be later used when formatting a message.

Constructors

new
LogRecord(options: LogRecordOptions)

Properties

readonly
args: unknown[]
readonly
datetime: Date
readonly
level: number
readonly
levelName: string
readonly
loggerName: string
readonly
msg: string