MCPcopy Index your code
hub / github.com/subquery/subql / getLogger

Function getLogger

packages/node-core/src/logger.ts:29–31  ·  view source on GitHub ↗
(category: string)

Source from the content-addressed store, hash-verified

27}
28
29export function getLogger(category: string): Pino.Logger {
30 return logger.getLogger(`${category}${isMainThread ? '' : `-#${threadId}`}`);
31}
32
33export function setLevel(level: Pino.LevelWithSilent): void {
34 logger.setLevel(level);

Callers 15

api.service.tsFile · 0.90
profiler.tsFile · 0.90
decorators.tsFile · 0.90
fetchHelpers.tsFile · 0.90
blocks.tsFile · 0.90
project.tsFile · 0.90
reindex.tsFile · 0.90
rampQueue.tsFile · 0.90
testing.service.tsFile · 0.90
sandbox.tsFile · 0.90

Calls 1

getLoggerMethod · 0.80

Tested by

no test coverage detected