fetch-xl
Version:
Fluent, interceptable (using es6 generators), configurable and loggable fetch wrapper
9 lines (7 loc) • 313 B
JavaScript
import {CONFIG_OPTION} from './configOptions';
import {LOG_LEVEL} from '../../util/log/logLevels';
const getDefaultConfig = () => ({
[CONFIG_OPTION.LOG_LEVEL_INTERCEPTOR_START]: LOG_LEVEL.NO_LOGGING,
[CONFIG_OPTION.LOG_LEVEL_INTERCEPTOR_IN_OUT]: LOG_LEVEL.NO_LOGGING
});
export default getDefaultConfig;