GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — NativeScript/console/console.d.ts at master · alvsgithub/NativeScript Expand file tree/ Copy pathconsole.d.tsMore file actions 74 lines (65 loc) · 2.81 KB / Copy pathconsole.d.tsFile metadata and controls74 lines (65 loc) · 2.81 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 /** * Allows printing messages to the device's console. */ declare module "console" { /** * Encapsulates methods used to print some information in the console. * Instance of this class is declared in the global JavaScript context and is accessible by directly calling console.[xxx] methods. */ class Console { /** * Begins counting a time span for a given name (key). * @param reportName The key for the operation. */ public time(reportName: string): void; /** * Ends a previously started time span through the time method. * @param reportName The key for the operation. Must have an already started time(reportName) operation with the same key. */ public timeEnd(reportName: string): void; /** * Asserts a boolean condition and prints a message in case the assert fails. * @param test A value that should not be Falsy. * @param message The message to be displayed in case the asserted value is Falsy. * @param formatParams Optional formatting parameters to be applied to the printed message. */ public assert(test: boolean, message: string, ...formatParams: any[]): void; /** * Reports some information. * @param message The information message to be printed to the console. * @param formatParams Optional formatting parameters to be applied to the printed message. */ public info(message: any, ...formatParams: any[]): void; /** * Reports a warning. * @param message The warning message to be printed to the console. * @param formatParams Optional formatting parameters to be applied to the printed message. */ public warn(message: any, ...formatParams: any[]): void; /** * Reports an error. * @param message The error message to be printed to the console. * @param formatParams Optional formatting parameters to be applied to the printed message. */ public error(message: any, ...formatParams: any[]): void; /** * Verbously logs a message. * @param message The message to be printed to the console. * @param formatParams Optional formatting parameters to be applied to the printed message. */ public log(message: any, ...formatParams: any[]): void; /** * Prints the current stack trace in the console. */ public trace(): void; /** * Prints the state of the specified object to the console. * @param obj The object instance to be dumped. */ public dump(obj: any): void; /** * Prints the state of the specified object to the console. */ public dir(obj: any): void; } } |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |