MCPcopy
hub / github.com/donmccurdy/glTF-Transform / setLogger

Method setLogger

packages/core/src/document.ts:130–133  ·  view source on GitHub ↗

* Overrides the Logger instance used for any operations performed on this document. * * Usage: * * ```ts * doc * .setLogger(new Logger(Logger.Verbosity.SILENT)) * .transform(dedup(), weld()); * ```

(logger: ILogger)

Source from the content-addressed store, hash-verified

128 * ```
129 */
130 public setLogger(logger: ILogger): Document {
131 this._logger = logger;
132 return this;
133 }
134
135 /**
136 * Clones this Document, copying all resources within it.

Callers 15

createPlatformIOFunction · 0.80
node-io.test.tsFile · 0.80
readMethod · 0.80
getParamsFunction · 0.80
ktxfix.test.tsFile · 0.80
constructorMethod · 0.80
transformMethod · 0.80
cli.tsFile · 0.80
instance.test.tsFile · 0.80
resample.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 4

getParamsFunction · 0.64
createIOFunction · 0.64
createDecoderIOFunction · 0.64
createEncoderIOFunction · 0.64