MCPcopy Index your code
hub / github.com/CommandCodeAI/BaseAI / log

Method log

packages/baseai/src/utils/logger.ts:104–112  ·  view source on GitHub ↗
(
		category: LogCategories,
		value: unknown,
		logHeader?: string
	)

Source from the content-addressed store, hash-verified

102 }
103
104 public log(
105 category: LogCategories,
106 value: unknown,
107 logHeader?: string
108 ): void {
109 if (!this.config.isEnabled || !this.isCategoryEnabled(category)) return;
110
111 this.logValue(category, value, logHeader);
112 }
113}
114
115export default Logger;

Callers 15

index.tsFile · 0.80
deploySingleMemoryFunction · 0.80
displayOutroFunction · 0.80
interruptHandlerFunction · 0.80
loggerFunction · 0.80
debugModeFunction · 0.80
logValueMethod · 0.80
checkDirectoryExistsFunction · 0.80
deleteDbFunction · 0.80
setLocalEmbeddingsConfigFunction · 0.80
createDefaultConfigFunction · 0.80

Calls 2

isCategoryEnabledMethod · 0.95
logValueMethod · 0.95

Tested by

no test coverage detected