MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / printEnvironmentInfo

Method printEnvironmentInfo

packages/alphatab/src/Environment.ts:785–796  ·  view source on GitHub ↗

* Prints the environment information for easier troubleshooting. * @param force Whether to force printing.

(force: boolean = true)

Source from the content-addressed store, hash-verified

783 * @param force Whether to force printing.
784 */
785 public static printEnvironmentInfo(force: boolean = true) {
786 const printer: (message: string) => void = force
787 ? message => {
788 Logger.log.debug('VersionInfo', message);
789 }
790 : message => {
791 Logger.debug('VersionInfo', message);
792 };
793 VersionInfo.print(printer);
794 printer(`High DPI: ${Environment.highDpiFactor}`);
795 Environment._printPlatformInfo(printer);
796 }
797
798 /**
799 * @target web

Callers 1

constructorMethod · 0.80

Calls 3

debugMethod · 0.65
printMethod · 0.45
_printPlatformInfoMethod · 0.45

Tested by

no test coverage detected