Skip to main content

browser-tracker.logger

Home > @snowplow/browser-tracker > Logger

Logger interface

Signature:
interface Logger 

Properties

PropertyTypeDescription
debug(message: string, ...extraParams: unknown[]) => void
error(message: string, error?: unknown, ...extraParams: unknown[]) => void
info(message: string, ...extraParams: unknown[]) => void
setLogLevel(level: LOG_LEVEL) => void
warn(message: string, error?: unknown, ...extraParams: unknown[]) => void