Compare commits

...

2 Commits

Author SHA1 Message Date
00e1b8d862 1.0.13 2018-11-04 15:25:27 +01:00
c5cedb027d fix(core): update 2018-11-04 15:25:27 +01:00
3 changed files with 9 additions and 7 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@mojoio/logdna",
"version": "1.0.12",
"version": "1.0.13",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@mojoio/logdna",
"version": "1.0.12",
"version": "1.0.13",
"private": false,
"description": "anunoffical package for the logdna api",
"main": "dist/index.js",

View File

@ -78,9 +78,11 @@ export class LogdnaAccount {
/**
* returns a smartlog compatible log destination
*/
public smartlogDestination: ILogDestination = {
handleLog: (logPackageArg) => {
this.sendSmartlogPackage(logPackageArg)
}
};
public get smartlogDestination (): ILogDestination {
return {
handleLog: (logPackageArg) => {
this.sendSmartlogPackage(logPackageArg);
}
};
}
}