MCPcopy Create free account
hub / github.com/Maccoder3/MAC-MD / get

Function get

lib/simple.js:50–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 },
49 logger: {
50 get() {
51 return {
52 info(...args) {
53 console.log(
54 chalk.bold.bgRgb(51, 204, 51)('INFO '),
55 `[${chalk.rgb(255, 255, 255)(new Date().toUTCString())}]:`,
56 chalk.cyan(format(...args))
57 )
58 },
59 error(...args) {
60 console.log(
61 chalk.bold.bgRgb(247, 38, 33)('ERROR '),
62 `[${chalk.rgb(255, 255, 255)(new Date().toUTCString())}]:`,
63 chalk.rgb(255, 38, 0)(format(...args))
64 )
65 },
66 warn(...args) {
67 console.log(
68 chalk.bold.bgRgb(255, 153, 0)('WARNING '),
69 `[${chalk.rgb(255, 255, 255)(new Date().toUTCString())}]:`,
70 chalk.redBright(format(...args))
71 )
72 },
73 trace(...args) {
74 console.log(
75 chalk.grey('TRACE '),
76 `[${chalk.rgb(255, 255, 255)(new Date().toUTCString())}]:`,
77 chalk.white(format(...args))
78 )
79 },
80 debug(...args) {
81 console.log(
82 chalk.bold.bgRgb(66, 167, 245)('DEBUG '),
83 `[${chalk.rgb(255, 255, 255)(new Date().toUTCString())}]:`,
84 chalk.white(format(...args))
85 )
86 },
87 }
88 },
89 enumerable: true,
90 },
91 getFile: {

Callers

nothing calls this directly

Calls 1

nullishFunction · 0.85

Tested by

no test coverage detected