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.
21 lines
416 B
JavaScript
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
|
|
};
|
|
}
|