New full screen chat WIP + code refactoring.

This commit is contained in:
John Livingston
2024-01-08 11:56:44 +01:00
parent 22a675e915
commit e04d553d0b
10 changed files with 74 additions and 15 deletions

10
client/utils/logger.ts Normal file
View File

@ -0,0 +1,10 @@
const logger = {
log: (s: string) => console.log('[peertube-plugin-livechat] ' + s),
info: (s: string) => console.info('[peertube-plugin-livechat] ' + s),
error: (s: string) => console.error('[peertube-plugin-livechat] ' + s),
warn: (s: string) => console.warn('[peertube-plugin-livechat] ' + s)
}
export {
logger
}