mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-15 07:20:02 -04:00
chore: prettier
This commit is contained in:
parent
520f3bb8bc
commit
3678965721
2 changed files with 9 additions and 4 deletions
|
@ -51,8 +51,8 @@ export default {
|
|||
}[severity];
|
||||
|
||||
fn(
|
||||
`%c${fmt}%c ${message}`,
|
||||
`
|
||||
`%c${fmt}%c ${message}`,
|
||||
`
|
||||
background-color: ${bg};
|
||||
color: ${fg};
|
||||
padding: ${padding}px;
|
||||
|
@ -60,7 +60,9 @@ export default {
|
|||
font-family: monospace;
|
||||
font-size: 0.9em;
|
||||
`,
|
||||
`${severity === "debug" ? "color: gray" : ""}`, ...args);
|
||||
`${severity === "debug" ? "color: gray" : ""}`,
|
||||
...args
|
||||
);
|
||||
},
|
||||
log: function (message: string, ...args: any[]) {
|
||||
this.fmt("log", message, ...args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue