MCPcopy Create free account
hub / github.com/codebymitch/TitanBot / shutdownLog

Function shutdownLog

src/utils/logger.js:249–264  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

247}
248
249function shutdownLog(message) {
250 if (shouldPromoteUserFacingLogs) {
251 logger.log({
252 level: 'warn',
253 message,
254 displayLevel: 'status',
255 });
256 return;
257 }
258
259 logger.log({
260 level: 'info',
261 message,
262 displayLevel: 'status',
263 });
264}
265
266export { logger, startupLog, shutdownLog };
267

Callers 1

shutdownMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected