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

std/log/logger.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.210.0/log/logger.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