Skip to content

Commit 7639164

Browse files
committed
Add comments to client logging utils
1 parent 856d0c3 commit 7639164

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib/client/logging/utils/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ export const logLevels = {
1111
error: 50,
1212
} as const;
1313

14+
/*
15+
* Colors copied from https://github.com/gajus/roarr-browser-log-writer
16+
*/
1417
export const logLevelColors = {
1518
debug: {
1619
backgroundColor: '#666',
@@ -36,6 +39,9 @@ export const logLevelColors = {
3639
[key in LogLevelName]: { backgroundColor: string; color: string };
3740
};
3841

42+
/*
43+
* Colors copied from https://github.com/gajus/roarr-browser-log-writer
44+
*/
3945
export const logTimestampColors = {
4046
debug: {
4147
color: '#999',

0 commit comments

Comments
 (0)