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

Function log

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

Source from the content-addressed store, hash-verified

1export const log = (name: string, ...args: any[]) => {
2 console.log(
3 `%c Decky %c ${name} %c`,
4 'background: #16a085; color: black;',
5 'background: #1abc9c; color: black;',
6 'background: transparent;',
7 ...args,
8 );
9};
10
11export const debug = (name: string, ...args: any[]) => {
12 console.debug(

Callers 1

logMethod · 0.85

Calls 1

logMethod · 0.80

Tested by

no test coverage detected