MCPcopy
hub / github.com/rollup/rollup / log

Method log

src/Module.ts:823–826  ·  view source on GitHub ↗
(level: LogLevel, properties: RollupLog, pos: number)

Source from the content-addressed store, hash-verified

821 }
822
823 log(level: LogLevel, properties: RollupLog, pos: number): void {
824 this.addLocationToLogProps(properties, pos);
825 this.options.onLog(level, properties);
826 }
827
828 render(options: RenderOptions): { source: MagicString; usesTopLevelAwait: boolean } {
829 const source = this.magicString.clone();

Callers 15

addSourceMethod · 0.95
cli.tsFile · 0.80
testHelpers.jsFile · 0.80
main.jsFile · 0.80
main.jsFile · 0.80
main-DCJ0aYjk.jsFile · 0.80
main.jsFile · 0.80
index.jsFile · 0.80
main.jsFile · 0.80
existing.jsFile · 0.80
main.jsFile · 0.80
cFunction · 0.80

Calls 1

addLocationToLogPropsMethod · 0.95

Tested by 15

testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64
testFunction · 0.64