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:
Saúl Ibarra Corretgé
2019-08-21 16:50:00 +02:00
committed by Saúl Ibarra Corretgé
parent bfe4237430
commit 5a934c071a
118 changed files with 330 additions and 139 deletions

View File

@@ -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