Module

std/log/logger.ts>LogRecord

Deno standard library
Go to Latest
class LogRecord
import { LogRecord } from "https://dotland.deno.dev/std@0.170.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