Skip to main content
Module

x/earthstar/mod.browser.ts>Logger

A specification and Javascript library for building online tools you can truly call your own.
Go to Latest
class Logger
Re-export
import { Logger } from "https://deno.land/x/earthstar@v9.3.3/mod.browser.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[])