imrpove some variable naming
This commit is contained in:
parent
d3d722b352
commit
f19df7db78
@ -76,8 +76,8 @@ Currently supported remote providers:
|
||||
|
||||
```typescript
|
||||
beautylog.remote.loggly({
|
||||
customerTokenArg: "loggly-token",
|
||||
subdomainArg: "loggly-subdomain",
|
||||
token: "loggly-token",
|
||||
subdomain: "loggly-subdomain",
|
||||
appName: "some App Name",
|
||||
serverName: "some Server Name"
|
||||
});
|
||||
|
4
dist/beautylog.remote.d.ts
vendored
4
dist/beautylog.remote.d.ts
vendored
@ -1,8 +1,8 @@
|
||||
export declare let remoteLog: (logType: string, logMessage: string) => void;
|
||||
export declare let remote: {
|
||||
loggly: (optionsArg: {
|
||||
customerTokenArg: string;
|
||||
subdomainArg: string;
|
||||
token: string;
|
||||
subdomain: string;
|
||||
appName: string;
|
||||
serverName: string;
|
||||
}) => void;
|
||||
|
6
dist/beautylog.remote.js
vendored
6
dist/beautylog.remote.js
vendored
@ -18,8 +18,8 @@ exports.remoteLog = (logType, logMessage) => {
|
||||
// Service implementations
|
||||
let loggly = (optionsArg) => {
|
||||
client = plugins.loggly.createClient({
|
||||
token: optionsArg.customerTokenArg,
|
||||
subdomain: optionsArg.subdomainArg,
|
||||
token: optionsArg.token,
|
||||
subdomain: optionsArg.subdomain,
|
||||
tags: [],
|
||||
json: true
|
||||
});
|
||||
@ -29,4 +29,4 @@ let loggly = (optionsArg) => {
|
||||
exports.remote = {
|
||||
loggly: loggly
|
||||
};
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmVhdXR5bG9nLnJlbW90ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2JlYXV0eWxvZy5yZW1vdGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE1BQVksT0FBTyxXQUFNLHFCQUFxQixDQUFDLENBQUE7QUFFL0MsSUFBSSxNQUFNLENBQUM7QUFDWCxJQUFJLFVBQVU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UVVLGNBQU0sR0FBRztJQUNoQixNQUFNLEVBQUUsTUFBTTtDQUNqQixDQUFDIn0=
|
@ -18,14 +18,14 @@ export let remoteLog = (logType: string, logMessage: string) => {
|
||||
// Service implementations
|
||||
|
||||
let loggly = (optionsArg: {
|
||||
customerTokenArg: string,
|
||||
subdomainArg: string,
|
||||
token: string,
|
||||
subdomain: string,
|
||||
appName: string,
|
||||
serverName:string
|
||||
}) => {
|
||||
client = plugins.loggly.createClient({
|
||||
token: optionsArg.customerTokenArg,
|
||||
subdomain: optionsArg.subdomainArg,
|
||||
token: optionsArg.token,
|
||||
subdomain: optionsArg.subdomain,
|
||||
tags: [],
|
||||
json: true
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user