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

x/earthstar/src/entries/npm.ts>Logger

Storage for private, distributed, offline-first applications.
Go to Latest
class Logger
Re-export
import { Logger } from "https://deno.land/x/earthstar@v10.0.1/src/entries/npm.ts";

Constructors

new
Logger(source: LogSource, color?: LogColor)

Properties

color: LogColor | undefined
source: LogSource

Methods

_print(
level: LogLevel,
showTag: boolean,
indent: string,
...args: any[],
)
debug(...args: any[])
error(...args: any[])
info(...args: any[])
log(...args: any[])
warn(...args: any[])