mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00

git-subtree-dir: tns-core-modules-widgets git-subtree-mainline: e6486f6c0f621210a6086801abc36c693cf31884 git-subtree-split: 4d29082e49a85187f50ede98fb634e6ae6f6ef46
30 lines
800 B
Objective-C
30 lines
800 B
Objective-C
//
|
|
// TNSProcess.h
|
|
// TNSWidgets
|
|
//
|
|
// Created by Panayot Cankov on 15/05/2017.
|
|
// Copyright © 2017 Telerik A D. All rights reserved.
|
|
//
|
|
|
|
#ifndef TNSProcess_h
|
|
#define TNSProcess_h
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
/**
|
|
* Get the milliseconds since the process started.
|
|
*/
|
|
double __tns_uptime();
|
|
|
|
/**
|
|
* Provides access to NSLog. The runtime implementation of console.log is filtered in release.
|
|
* We rarely need to log in release but in cases such as when logging app startup times in release,
|
|
* this will be convenient shortcut to NSLog, NSLog is not exposed.
|
|
*
|
|
* Please note the {N} CLI may be filtering app output, prefixing the message with "CONSOLE LOG"
|
|
* will make the logs visible in "tns run ios --release" builds.
|
|
*/
|
|
void __nslog(NSString* message);
|
|
|
|
#endif /* TNSProcess_h */
|