worker icon indicating copy to clipboard operation
worker copied to clipboard

Graphile worker should export LogLevel as a type

Open Zehelein opened this issue 3 years ago • 0 comments

The worker exposes the 'Logger' type but not the 'LogLevel': https://github.com/graphile/worker/blob/main/src/index.ts

When creating a custom logFactory we would need that LogLevel to call our own implementation based on the LogLevel.

Graphile migrate for example does export it: https://github.com/graphile/migrate/blob/main/src/index.ts

Zehelein avatar Feb 09 '22 09:02 Zehelein