VendureLogger

VendureLogger

VendureLogger

The VendureLogger interface defines the shape of a logger service which may be provided in the config.

Signature

interface VendureLogger {
  error(message: string, context?: string, trace?: string): void;
  warn(message: string, context?: string): void;
  info(message: string, context?: string): void;
  verbose(message: string, context?: string): void;
  debug(message: string, context?: string): void;
}

Members

error

method
type:
(message: string, context?: string, trace?: string) => void

warn

method
type:
(message: string, context?: string) => void

info

method
type:
(message: string, context?: string) => void

verbose

method
type:
(message: string, context?: string) => void

debug

method
type:
(message: string, context?: string) => void