@gasket/plugin-logger
Advanced tools
Comparing version 7.0.0-next.1 to 7.0.0-next.2
@@ -29,2 +29,7 @@ /* eslint-disable no-console, no-sync */ | ||
const loggers = gasket.execSync('createLogger'); | ||
if (loggers && loggers.some((logger) => logger && logger instanceof Promise)) { | ||
throw new Error('createLogger hooks must be synchronous'); | ||
} | ||
if (!loggers || loggers.length === 0) { | ||
@@ -31,0 +36,0 @@ gasket.logger = { |
{ | ||
"name": "@gasket/plugin-logger", | ||
"version": "7.0.0-next.1", | ||
"version": "7.0.0-next.2", | ||
"description": "Gasket plugin for logging", | ||
@@ -37,5 +37,5 @@ "main": "lib", | ||
"devDependencies": { | ||
"@gasket/engine": "^7.0.0-next.1", | ||
"@gasket/plugin-https": "^7.0.0-next.1", | ||
"@gasket/plugin-metadata": "^7.0.0-next.1", | ||
"@gasket/engine": "^7.0.0-next.2", | ||
"@gasket/plugin-https": "^7.0.0-next.2", | ||
"@gasket/plugin-metadata": "^7.0.0-next.2", | ||
"cross-env": "^7.0.3", | ||
@@ -60,3 +60,3 @@ "eslint": "^8.56.0", | ||
}, | ||
"gitHead": "05300b094247de1fdfaf06afcdfed24280e3f084" | ||
"gitHead": "ae1c37abe63a7deea1431e37e57f2b14daa31bf5" | ||
} |
6526
84