Register new apolloEngine.logLevel setting

This commit is contained in:
Luca Hagel 2018-01-11 13:06:10 +01:00
parent ef351ec30d
commit 7c9ccb3fc0

View file

@ -22,8 +22,9 @@ import { runCallbacks } from '../modules/callbacks.js';
export let executableSchema;
// see https://github.com/apollographql/apollo-cache-control
registerSetting('apolloEngine.logLevel', 'INFO', 'Log level (one of INFO, DEBUG, WARN, ERROR');
// see https://github.com/apollographql/apollo-cache-control
const engineApiKey = getSetting('apolloEngine.apiKey');
const engineLogLevel = getSetting('apolloEngine.logLevel', 'INFO')
const engineConfig = {