* Prints the environment information for easier troubleshooting. * @param force Whether to force printing.
(force: boolean = true)
| 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 |
no test coverage detected