Use Logger and remove unused code
This commit is contained in:
parent
e67781d133
commit
e6423d6116
@ -1,4 +1,5 @@
|
||||
import Users from '/imports/api/users';
|
||||
import Logger from '/imports/startup/server/logger';
|
||||
import { extractCredentials } from '/imports/api/common/server/helpers';
|
||||
|
||||
export default function emitExternalVideoEvent(messageName, ...rest) {
|
||||
@ -13,7 +14,7 @@ export default function emitExternalVideoEvent(messageName, ...rest) {
|
||||
if (streamer) {
|
||||
streamer.emit(messageName, ...rest)
|
||||
} else {
|
||||
console.log("streamer not found")
|
||||
Logger.info("streamer not found")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { extractCredentials } from '/imports/api/common/server/helpers';
|
||||
import { check } from 'meteor/check';
|
||||
import Logger from '/imports/startup/server/logger';
|
||||
|
||||
const allowRecentMessages = (eventName, message) => {
|
||||
|
Loading…
Reference in New Issue
Block a user