1.4.2 • Published 3 years ago

@enigmatis/polaris-graphql-logger v1.4.2

Weekly downloads
90
License
ISC
Repository
github
Last release
3 years ago

Small Logo

polaris-graphql-logger

Build Status NPM version

Install

npm install polaris-graphql-logger

Overview

Polaris GraphQL Logger allows you to write standardized logs easily, using a polaris-logs logger, and wrapping a classic graphql logger.

GraphQLLogProperties

This interface defines the graphql log properties that can be logged whenever the logger is called. This interface extends the PolarisLogProperties that polaris-logs library offers. The property that GraphQLLogProperties adds in addition is:

  • operationName(string - Optional): the name of the requested graphql operation.

GraphQLLogger

This interface defines all of the logging level options that available in the graphql logger. It provides the usual methods of logger, such as warn, error, fatal, info, trace and debug.

PolarisGraphQLLogger

This class gives you the ability to send PolarisGraphQLContext and PolarisLogProperties and have it build a log according to the standard way.

2.7.0

3 years ago

2.6.0

3 years ago

2.5.0

3 years ago

2.4.0

3 years ago

2.3.4

3 years ago

2.3.3

3 years ago

2.3.2-snapshot.0

3 years ago

2.3.3-snapshot.0

3 years ago

2.3.2

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago