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

x/pup/lib/core/logger.ts>Logger

Universal process manager built in Deno
Go to Latest
class Logger
import { Logger } from "https://deno.land/x/pup@1.0.0-alpha-7/lib/core/logger.ts";

Constructors

new
Logger(globalConfiguration: GlobalLoggerConfiguration)

Properties

private
optional
attachedLogger: AttachedLogger

Methods

private
internalLog(
severity: string,
category: string,
text: string,
)
private
writeFile(fileName: string, text: string)
attach(pluginLogger: AttachedLogger)
error(
category: string,
text: string,
)
info(
category: string,
text: string,
)
log(
category: string,
text: string,
)
warn(
category: string,
text: string,
)