mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
ref(logging) Rename logger ids to facilitate proper filtering of logs.
This commit is contained in:
committed by
Jaya Allamsetty
parent
f780207c22
commit
8f0b9575c4
@@ -138,7 +138,7 @@ import {
|
||||
ENDPOINT_TEXT_MESSAGE_NAME
|
||||
} from './constants';
|
||||
|
||||
const logger = Logger.getLogger(__filename);
|
||||
const logger = Logger.getLogger('api:core');
|
||||
|
||||
/**
|
||||
* List of the available commands.
|
||||
|
||||
2
modules/API/external/functions.js
vendored
2
modules/API/external/functions.js
vendored
@@ -1,6 +1,6 @@
|
||||
import Logger from '@jitsi/logger';
|
||||
|
||||
const logger = Logger.getLogger(__filename);
|
||||
const logger = Logger.getLogger('api:external');
|
||||
|
||||
/**
|
||||
* Returns Promise that resolves with result an list of available devices.
|
||||
|
||||
@@ -28,7 +28,7 @@ import EtherpadManager from './etherpad/Etherpad';
|
||||
import UIUtil from './util/UIUtil';
|
||||
import VideoLayout from './videolayout/VideoLayout';
|
||||
|
||||
const logger = Logger.getLogger(__filename);
|
||||
const logger = Logger.getLogger('ui:core');
|
||||
|
||||
let etherpadManager;
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ import AudioLevels from '../audio_levels/AudioLevels';
|
||||
|
||||
import { VIDEO_CONTAINER_TYPE, VideoContainer } from './VideoContainer';
|
||||
|
||||
const logger = Logger.getLogger(__filename);
|
||||
const logger = Logger.getLogger('ui:videolayout');
|
||||
|
||||
const DESKTOP_CONTAINER_TYPE = 'desktop';
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ export const VIDEO_CONTAINER_TYPE = 'camera';
|
||||
// Corresponds to animation duration from the animatedFadeIn and animatedFadeOut CSS classes.
|
||||
const FADE_DURATION_MS = 300;
|
||||
|
||||
const logger = Logger.getLogger(__filename);
|
||||
const logger = Logger.getLogger('ui:VideoContainer');
|
||||
|
||||
/**
|
||||
* List of container events that we are going to process for the large video.
|
||||
|
||||
@@ -16,7 +16,7 @@ import {
|
||||
import LargeVideoManager from './LargeVideoManager';
|
||||
import { VIDEO_CONTAINER_TYPE } from './VideoContainer';
|
||||
|
||||
const logger = Logger.getLogger(__filename);
|
||||
const logger = Logger.getLogger('ui:VideoLayout');
|
||||
let largeVideo;
|
||||
|
||||
const VideoLayout = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const logger = require('@jitsi/logger').getLogger(__filename);
|
||||
const logger = require('@jitsi/logger').getLogger('app:utils');
|
||||
|
||||
/**
|
||||
* Manages a queue of functions where the current function in progress will
|
||||
|
||||
Reference in New Issue
Block a user