The Guild LogoThe Guild Monogram

Search docs

Search icon

Products by The Guild

Products

Hive logoHive blurred logo

Hive

Schema Registry for your GraphQL Workflows

Skip to main content

Class: DefaultLogger

utils/src.DefaultLogger

Implements#

Table of contents#

Constructors#

Properties#

Methods#

Constructors#

constructor#

new DefaultLogger(name?)

Parameters#

NameType
name?string

Defined in#

packages/utils/src/logger.ts:12

Properties#

name#

Optional name: string

Implementation of#

Logger.name

Methods#

child#

child(name): Logger

Parameters#

NameType
namestring

Returns#

Logger

Implementation of#

Logger.child

Defined in#

packages/utils/src/logger.ts:36


debug#

debug(message): void

Parameters#

NameType
messagestring

Returns#

void

Implementation of#

Logger.debug

Defined in#

packages/utils/src/logger.ts:30


error#

error(message): void

Parameters#

NameType
messagestring

Returns#

void

Implementation of#

Logger.error

Defined in#

packages/utils/src/logger.ts:26


info#

info(message): void

Parameters#

NameType
messagestring

Returns#

void

Implementation of#

Logger.info

Defined in#

packages/utils/src/logger.ts:22


log#

log(message): void

Parameters#

NameType
messagestring

Returns#

void

Implementation of#

Logger.log

Defined in#

packages/utils/src/logger.ts:13


warn#

warn(message): void

Parameters#

NameType
messagestring

Returns#

void

Implementation of#

Logger.warn

Defined in#

packages/utils/src/logger.ts:18