@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
11 lines • 366 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { _safeJSONStringify } from './safeStringify';
/**
* @internal
* This is a log function to log structural data for easier parse in telemetry
*/
export const _logEvent = (logger, event) => {
logger[event.level](_safeJSONStringify(event));
};
//# sourceMappingURL=logEvent.js.map