1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-08-08 02:02:49 +00:00

webOS: Ported receiver to Electron 2.1.0 changes

This commit is contained in:
Michael Hollister 2025-05-09 10:44:26 -05:00
parent 61c1e9a9c1
commit e3c437a280
16 changed files with 2402 additions and 978 deletions

View file

@ -157,7 +157,14 @@ export class Logger {
// @ts-ignore
} else if (TARGET === 'webOS' || TARGET === 'tizenOS') {
this.funcTable = {
trace: (message?: any, ...optionalParams: any[]) => console.trace(message, ...optionalParams),
debug: (message?: any, ...optionalParams: any[]) => console.log(message, ...optionalParams),
info: (message?: any, ...optionalParams: any[]) => console.log(message, ...optionalParams),
warn: (message?: any, ...optionalParams: any[]) => console.warn(message, ...optionalParams),
error: (message?: any, ...optionalParams: any[]) => console.error(message, ...optionalParams),
fatal: (message?: any, ...optionalParams: any[]) => console.error(message, ...optionalParams),
};
} else {
// @ts-ignore
console.warn(`Attempting to initialize logger on unsupported target: ${TARGET}`);