fix(structure): format

This commit is contained in:
Philipp Kunz 2018-11-03 16:22:32 +01:00
parent 7a45f829fc
commit a55311c0fd
5 changed files with 9 additions and 13 deletions

View File

@ -27,4 +27,4 @@
"@pushrocks/smartstring": "^3.0.4",
"@pushrocks/taskbuffer": "^2.0.5"
}
}
}

View File

@ -29,6 +29,6 @@ tap.test('should create a standard log message', async () => {
tap.test('should send the message', async () => {
await testLogDnaAccount.sendLogDnaMessage(testLogMessage);
})
});
tap.start();

View File

@ -1,2 +1,2 @@
export * from './logdna.logdnaaccount';
export * from './logdna.classes.logmessage';
export * from './logdna.classes.logmessage';

View File

@ -22,7 +22,7 @@ export interface ILogdnaMessageContructorOptions {
ip: string;
/**
* a text message, that is the core part
* a text message, that is the core part
*/
line: string;
@ -60,7 +60,7 @@ export class LogdnaMessage {
* create lgdna messages from smartlog package
* @param smartlogPackageArg
*/
static fromSmartLogPackage (smartlogPackageArg: ILogPackage): LogdnaMessage {
static fromSmartLogPackage(smartlogPackageArg: ILogPackage): LogdnaMessage {
return new LogdnaMessage({
line: smartlogPackageArg.message,
meta: smartlogPackageArg.logContext,
@ -77,7 +77,7 @@ export class LogdnaMessage {
ip: '0.0.0.0',
mac: 'aa:aa:aa:aa:aa:aa'
});
};
}
/**
* the options of this log message
@ -85,5 +85,5 @@ export class LogdnaMessage {
public options: ILogdnaMessageContructorOptions;
constructor(optionsArg: ILogdnaMessageContructorOptions) {
this.options = optionsArg;
};
}
}
}

View File

@ -2,8 +2,4 @@ import * as smartrequest from '@pushrocks/smartrequest';
import * as smartstring from '@pushrocks/smartstring';
import * as smartlogInterfaces from '@pushrocks/smartlog-interfaces';
export {
smartrequest,
smartstring,
smartlogInterfaces
};
export { smartrequest, smartstring, smartlogInterfaces };