mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix swipe-back in iOS
This commit is contained in:
6
trace/trace.d.ts
vendored
6
trace/trace.d.ts
vendored
@@ -41,6 +41,12 @@ declare module "trace" {
|
||||
*/
|
||||
export function addCategories(categories: string);
|
||||
|
||||
/**
|
||||
* Check if category is already set in trace module.
|
||||
* @param category The category to check.
|
||||
*/
|
||||
export function isCategorySet(category: string): boolean;
|
||||
|
||||
/**
|
||||
* Writes a message using the available writers.
|
||||
* @param message The message to be written.
|
||||
|
||||
@@ -14,6 +14,10 @@ export function disable() {
|
||||
_enabled = false;
|
||||
}
|
||||
|
||||
export function isCategorySet(category: string): boolean {
|
||||
return category in _categories;
|
||||
}
|
||||
|
||||
export function addWriter(writer: definition.TraceWriter) {
|
||||
_writers.push(writer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user