mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-18 08:07:46 +00:00
logging: use individual, names loggers
React Native doesn't define __filename nor __dirname so do it artisanally. In addition, this helps with centralizing the configuration passed to loggers.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
bfe4237430
commit
5a934c071a
@@ -5,9 +5,9 @@ import AKInlineDialog from '@atlaskit/inline-dialog';
|
||||
import _debounce from 'lodash/debounce';
|
||||
import React, { Component } from 'react';
|
||||
|
||||
import InlineDialogFailure from './InlineDialogFailure';
|
||||
import logger from '../../logger';
|
||||
|
||||
const logger = require('jitsi-meet-logger').getLogger(__filename);
|
||||
import InlineDialogFailure from './InlineDialogFailure';
|
||||
|
||||
/**
|
||||
* The type of the React {@code Component} props of
|
||||
|
||||
Reference in New Issue
Block a user