MCPcopy
hub / github.com/SteamDeckHomebrew/decky-loader / error

Function error

frontend/src/logger.ts:31–39  ·  view source on GitHub ↗
(name: string, ...args: any[])

Source from the content-addressed store, hash-verified

29};
30
31export const error = (name: string, ...args: any[]) => {
32 console.error(
33 `%c Decky %c ${name} %c`,
34 'background: #16a085; color: black;',
35 'background: #FF0000;',
36 'background: transparent;',
37 ...args,
38 );
39};
40
41class Logger {
42 constructor(private name: string) {

Callers 1

errorMethod · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected