0.0.35 • Published 3 months ago
@types/jquery.clientsidelogging v0.0.35
Installation
npm install --save @types/jquery.clientsidelogging
Summary
This package contains type definitions for jquery.clientSideLogging (https://github.com/remybach/jQuery.clientSideLogging).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery.clientsidelogging.
index.d.ts
// Type definitions for jquery.clientSideLogging
// Project: https://github.com/remybach/jQuery.clientSideLogging
// Definitions by: Diullei Gomes <https://github.com/diullei>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery" />
interface ClientSideLoggingClientInfoObject {
location?: boolean | undefined; // The url to the page on which the error occurred.
screen_size?: boolean | undefined; // The size of the user's screen (different to the window size because the window might not be maximized)
user_agent?: boolean | undefined; // The user agent string.
window_size?: boolean | undefined; // The window size.
}
interface ClientSideLoggingObject {
error_url?: string | undefined; // The url to which errors logs are sent
info_url?: string | undefined; // The url to which info logs are sent
log_url?: string | undefined; // The url to which standard logs are sent
log_level?: number | undefined; // The level at which to log. This allows you to keep the calls to the logging in your code and just change this variable to log varying degrees. 1 = only error, 2 = error & log, 3 = error, log & info
native_error?: boolean | undefined; // Whether or not to send native js errors as well (using window.onerror).
hijack_console?: boolean | undefined; // Hijacks the default console functionality (ie: all your console.error/info/log are belong to us).
query_var?: string | undefined; // The variable to send the log message through as.
client_info?: ClientSideLoggingClientInfoObject | undefined; // Configuration for what info about the client's browser is logged.
}
interface JQueryStatic {
info: (what?: any) => any;
error(what?: any): any;
log: (what?: any) => any;
clientSideLogging: (options: ClientSideLoggingObject) => any;
}
Additional Details
- Last updated: Thu, 08 Jul 2021 16:22:33 GMT
- Dependencies: @types/jquery
- Global values: none
Credits
These definitions were written by Diullei Gomes.
0.0.35
3 months ago
0.0.32
8 months ago
0.0.33
7 months ago
0.0.34
6 months ago
0.0.31
3 years ago
0.0.30
4 years ago
0.0.29
7 years ago
0.0.28
7 years ago
0.0.27
8 years ago
0.0.26
8 years ago
0.0.25-alpha
8 years ago
1.0.25-alpha
8 years ago
1.0.24-alpha
8 years ago
1.0.23-alpha
8 years ago
1.0.22-alpha
8 years ago
1.0.21-alpha
8 years ago
1.0.20-alpha
8 years ago
1.0.19-alpha
8 years ago
1.0.14-alpha
8 years ago
1.0.13-alpha
8 years ago