MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / log

Method log

src/shared/logging.ts:27–29  ·  view source on GitHub ↗
(message: string, severity: LogSeverity, category = LogCategory.General)

Source from the content-addressed store, hash-verified

25 public readonly onLog = (listener: (message: LogMessage) => void) => this.onLogEmitter.onLog(listener);
26
27 private log(message: string, severity: LogSeverity, category = LogCategory.General): void {
28 this.onLogEmitter.fire(new LogMessageImpl(message, severity, category));
29 }
30
31 public info(message: string, category?: LogCategory): void {
32 this.log(message, LogSeverity.Info, category);

Callers 3

infoMethod · 0.95
warnMethod · 0.95
errorMethod · 0.95

Calls 1

fireMethod · 0.45

Tested by

no test coverage detected