()
| 5 | declare let __stopCPUProfiler: any; |
| 6 | |
| 7 | export function uptime(): number { |
| 8 | return global.android ? (<any>org).nativescript.Process.getUpTime() : global.__tns_uptime(); |
| 9 | } |
| 10 | |
| 11 | export function log(message: string, ...optionalParams: any[]): void { |
| 12 | if (global.__nslog) { |
no test coverage detected