MCPcopy
hub / github.com/nanbingxyz/5ire / scope

Method scope

src/main/services/logger.ts:148–158  ·  view source on GitHub ↗

* Create a new Logger instance with the specified scope * @param scope Scope name * @returns New Logger instance

(scope: string)

Source from the content-addressed store, hash-verified

146 * @returns New Logger instance
147 */
148 scope(scope: string) {
149 const instance = new Logger();
150
151 if (this.#scope) {
152 instance.#scope = `${this.#scope}:${scope}`;
153 } else {
154 instance.#scope = scope;
155 }
156
157 return instance;
158 }
159
160 /**
161 * Track analytics events

Callers 15

initLegacyDatabaseFunction · 0.80
ModuleContextClass · 0.80
getMCPServerMethod · 0.80
main.tsFile · 0.80
onDeepLinkFunction · 0.80
openSafeExternalFunction · 0.80
DatabaseClass · 0.80
#initMethod · 0.80
RendererClass · 0.80
initMethod · 0.80
DocumentManagerClass · 0.80
queryChunksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected