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:
parent
61c1e9a9c1
commit
e3c437a280
16 changed files with 2402 additions and 978 deletions
|
@ -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}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue