Skip to main content
Module

std/log/logger.ts>LogRecord

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