Lyubo Marinov 7836fd1990 Introduce features/base/logging
The functionality around logging including logging_config.js i.e.
loggingConfig and the other classes and/or functions that initialize
loggers for Jits Meet truly deserves a feature of its own. Start getting
in that direction on both Web and mobile by introducing
features/base/logging and bringing loggingConfig to mobile.
2017-04-23 23:30:53 -05:00

21 lines
416 B
JavaScript

/* @flow */
import { SET_LOGGING_CONFIG } from './actionTypes';
/**
* Sets the configuration of the feature base/logging.
*
* @param {Object} config - The configuration to set on the features
* base/logging.
* @returns {{
* type: SET_LOGGING_CONFIG,
* config: Object
* }}
*/
export function setLoggingConfig(config: Object) {
return {
type: SET_LOGGING_CONFIG,
config
};
}