@loopback/logging 0.9.0 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) IBM Corp. 2019.
1
+ Copyright (c) IBM Corp. and LoopBack contributors 2019.
2
2
  Node module: @loopback/logging
3
3
  This project is licensed under the MIT License, full text below.
4
4
 
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019,2020. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
3
3
  // Node module: @loopback/logging
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/decorators/index.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE;;;;;GAKG;AAEH,8DAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/decorators/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE;;;;;GAKG;AAEH,8DAAoC"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019,2020. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
3
3
  // Node module: @loopback/logging
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -1 +1 @@
1
- {"version":3,"file":"logging.decorator.js","sourceRoot":"","sources":["../../src/decorators/logging.decorator.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,yCAAyC;AACzC,kCAAwC;AAExC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa;IAC3B,4EAA4E;IAC5E,qBAAqB;IACrB,OAAO,IAAA,gBAAS,EAAC,sBAAe,CAAC,yBAAyB,CAAC,CAAC;AAC9D,CAAC;AAJD,sCAIC"}
1
+ {"version":3,"file":"logging.decorator.js","sourceRoot":"","sources":["../../src/decorators/logging.decorator.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,yCAAyC;AACzC,kCAAwC;AAExC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa;IAC3B,4EAA4E;IAC5E,qBAAqB;IACrB,OAAO,IAAA,gBAAS,EAAC,sBAAe,CAAC,yBAAyB,CAAC,CAAC;AAC9D,CAAC;AAJD,sCAIC"}
package/dist/fluent.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Getter, Provider } from '@loopback/core';
2
- import { FluentSender, Options } from 'fluent-logger';
2
+ import fluent, { FluentSender, Options } from 'fluent-logger';
3
3
  import TransportStream from 'winston-transport';
4
4
  export { FluentSender } from 'fluent-logger';
5
5
  /**
@@ -9,7 +9,7 @@ export declare class FluentSenderProvider implements Provider<FluentSender<any>>
9
9
  private getFluentConfig;
10
10
  constructor(getFluentConfig: Getter<Options | undefined>);
11
11
  private binding;
12
- value(): Promise<FluentSender<unknown>>;
12
+ value(): Promise<fluent.FluentSender<unknown>>;
13
13
  }
14
14
  /**
15
15
  * Provider to create FluentTransport for Winston
package/dist/fluent.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/logging
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -7,11 +7,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.FluentTransportProvider = exports.FluentSenderProvider = exports.FluentSender = void 0;
8
8
  const tslib_1 = require("tslib");
9
9
  const core_1 = require("@loopback/core");
10
- const fluent_logger_1 = require("fluent-logger");
10
+ const fluent_logger_1 = tslib_1.__importStar(require("fluent-logger"));
11
11
  const keys_1 = require("./keys");
12
- const fluent_logger_2 = tslib_1.__importDefault(require("fluent-logger"));
13
- var fluent_logger_3 = require("fluent-logger");
14
- Object.defineProperty(exports, "FluentSender", { enumerable: true, get: function () { return fluent_logger_3.FluentSender; } });
12
+ var fluent_logger_2 = require("fluent-logger");
13
+ Object.defineProperty(exports, "FluentSender", { enumerable: true, get: function () { return fluent_logger_2.FluentSender; } });
15
14
  /**
16
15
  * Provider for FluentSender
17
16
  */
@@ -49,7 +48,7 @@ let FluentTransportProvider = class FluentTransportProvider {
49
48
  if (options == null) {
50
49
  throw new Error(`Fluent is not configured. Please configure ${this.binding.key}.`);
51
50
  }
52
- const winstonTransportClass = fluent_logger_2.default.support.winstonTransport();
51
+ const winstonTransportClass = fluent_logger_1.default.support.winstonTransport();
53
52
  return new winstonTransportClass('LoopBack', options);
54
53
  }
55
54
  };
@@ -1 +1 @@
1
- {"version":3,"file":"fluent.js","sourceRoot":"","sources":["../src/fluent.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAAyE;AACzE,iDAAwE;AACxE,iCAAuC;AACvC,0EAAmC;AAGnC,+CAA2C;AAAnC,6GAAA,YAAY,OAAA;AAEpB;;GAEG;AACH,8DAA8D;AAC9D,IAAa,oBAAoB,GAAjC,MAAa,oBAAoB;IAC/B,YAC2B,eAA4C;QAA5C,oBAAe,GAAf,eAAe,CAA6B;IACpE,CAAC;IAKJ,KAAK,CAAC,KAAK;QACT,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;QAC7C,IAAI,OAAO,IAAI,IAAI,EAAE;YACnB,MAAM,IAAI,KAAK,CACb,8CAA8C,IAAI,CAAC,OAAO,CAAC,GAAG,GAAG,CAClE,CAAC;SACH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5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019,2020. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
3
3
  // Node module: @loopback/logging
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE;;;;GAIG;AAEH,uDAA6B;AAC7B,iDAAuB;AACvB,8DAAoC;AACpC,oDAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE;;;;GAIG;AAEH,uDAA6B;AAC7B,iDAAuB;AACvB,8DAAoC;AACpC,oDAA0B"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/logging
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interceptors/index.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,gEAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interceptors/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,gEAAsC"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/logging
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -10,6 +10,7 @@ const core_1 = require("@loopback/core");
10
10
  const rest_1 = require("@loopback/rest");
11
11
  const morgan_1 = tslib_1.__importDefault(require("morgan"));
12
12
  const util_1 = require("util");
13
+ const winston_1 = require("winston");
13
14
  const keys_1 = require("../keys");
14
15
  /**
15
16
  * A local interceptor that provides logging for method invocations.
@@ -40,7 +41,7 @@ InvocationLoggingInterceptor = tslib_1.__decorate([
40
41
  scope: core_1.BindingScope.SINGLETON,
41
42
  }),
42
43
  tslib_1.__param(0, (0, core_1.inject)(keys_1.LoggingBindings.WINSTON_LOGGER)),
43
- tslib_1.__metadata("design:paramtypes", [Object])
44
+ tslib_1.__metadata("design:paramtypes", [winston_1.Logger])
44
45
  ], InvocationLoggingInterceptor);
45
46
  exports.InvocationLoggingInterceptor = InvocationLoggingInterceptor;
46
47
  /**
@@ -85,7 +86,7 @@ HttpAccessLogInterceptor = tslib_1.__decorate([
85
86
  }),
86
87
  tslib_1.__param(0, (0, core_1.inject)(keys_1.LoggingBindings.WINSTON_LOGGER)),
87
88
  tslib_1.__param(1, (0, core_1.config)()),
88
- tslib_1.__metadata("design:paramtypes", [Object, Object])
89
+ tslib_1.__metadata("design:paramtypes", [winston_1.Logger, Object])
89
90
  ], HttpAccessLogInterceptor);
90
91
  exports.HttpAccessLogInterceptor = HttpAccessLogInterceptor;
91
92
  //# sourceMappingURL=logging.interceptor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"logging.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/logging.interceptor.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAWwB;AACxB,yCAA+E;AAC/E,4DAA4B;AAC5B,+BAA4B;AAE5B,kCAAwC;AAExC;;GAEG;AAKH,IAAa,4BAA4B,GAAzC,MAAa,4BAA4B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AAc,CAAC,CAAA;IAEtC,mBAAA,IAAA,aAAM,GAAE,CAAA;;GAJA,wBAAwB,CA0CpC;AA1CY,4DAAwB"}
1
+ {"version":3,"file":"logging.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/logging.interceptor.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAWwB;AACxB,yCAA+E;AAC/E,4DAA4B;AAC5B,+BAA4B;AAC5B,qCAA+B;AAC/B,kCAAwC;AAExC;;GAEG;AAKH,IAAa,4BAA4B,GAAzC,MAAa,4BAA4B;IACvC,YAEU,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IACrB,CAAC;IAEJ,KAAK;QACH,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IAED,KAAK,CAAC,SAAS,CACb,aAAgC,EAChC,IAA6B;QAE7B,IAAI;YACF,IAAI,CAAC,MAAM,CAAC,GAAG,CACb,SAAS,EACT,IAAA,aAAM,EACJ,mBAAmB,EACnB,aAAa,CAAC,UAAU,EACxB,aAAa,CAAC,IAAI,CACnB,CACF,CAAC;YACF,MAAM,MAAM,GAAG,MAAM,IAAI,EAAE,CAAC;YAC5B,IAAI,CAAC,MAAM,CAAC,GAAG,CACb,SAAS,EACT,IAAA,aAAM,EAAC,mBAAmB,EAAE,aAAa,CAAC,UAAU,EAAE,MAAM,CAAC,CAC9D,CAAC;YACF,OAAO,MAAM,CAAC;SACf;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,MAAM,CAAC,GAAG,CACb,OAAO,EACP,IAAA,aAAM,EAAC,eAAe,EAAE,aAAa,CAAC,UAAU,EAAE,GAAG,CAAC,CACvD,CAAC;YACF,MAAM,GAAG,CAAC;SACX;IACH,CAAC;CACF,CAAA;AArCY,4BAA4B;IAJxC,IAAA,iBAAU,EAAC;QACV,IAAI,EAAE,EAAC,CAAC,kB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C,CACT,CAAC;SACH;QACD,OAAO,IAAI,EAAE,CAAC;IAChB,CAAC;CACF,CAAA;AA1CY,wBAAwB;IARpC,IAAA,iBAAU,EAAC,IAAA,0BAAmB,EAAC,SAAS,CAAC,EAAE;QAC1C,IAAI,EAAE;YACJ,CAAC,kBAAW,CAAC,GAAG,CAAC,EAAE,sBAAe,CAAC,0BAA0B;YAC7D,6CAA6C;YAC7C,CAAC,kBAAW,CAAC,yBAAyB,CAAC,EAAE,OAAO;SACjD;QACD,KAAK,EAAE,mBAAY,CAAC,SAAS;KAC9B,CAAC;IAGG,mBAAA,IAAA,aAAM,EAAC,sBAAe,CAAC,cAAc,CAAC,CAAA;IAEtC,mBAAA,IAAA,aAAM,GAAE,CAAA;6CADO,gBAAM;GAHb,wBAAwB,CA0CpC;AA1CY,4DAAwB"}
package/dist/keys.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019,2020. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
3
3
  // Node module: @loopback/logging
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
package/dist/keys.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"keys.js","sourceRoot":"","sources":["../src/keys.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,yCAAuD;AAMvD;;GAEG;AACH,IAAiB,eAAe,CAqC/B;AArCD,WAAiB,eAAe;IACjB,yBAAS,GAAG,iBAAU,CAAC,MAAM,CACxC,6BAA6B,CAC9B,CAAC;IAEF,8DAA8D;IACjD,6BAAa,GAAG,iBAAU,CAAC,MAAM,CAC5C,uBAAuB,CACxB,CAAC;IAEF;;OAEG;IACU,8BAAc,GAAG,iBAAU,CAAC,MAAM,CAC7C,wBAAwB,CACzB,CAAC;IAEF;;OAEG;IACU,wCAAwB,GAAG,iBAAU,CAAC,MAAM,CACvD,mCAAmC,CACpC,CAAC;IAEF;;OAEG;IACU,yCAAyB,GAAG,iBAAU,CAAC,MAAM,CACxD,kCAAkC,CACnC,CAAC;IAEF;;OAEG;IACU,0CAA0B,GAAG,iBAAU,CAAC,MAAM,CACzD,kCAAkC,CACnC,CAAC;AACJ,CAAC,EArCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAqC/B"}
1
+ {"version":3,"file":"keys.js","sourceRoot":"","sources":["../src/keys.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,yCAAuD;AAMvD;;GAEG;AACH,IAAiB,eAAe,CAqC/B;AArCD,WAAiB,eAAe;IACjB,yBAAS,GAAG,iBAAU,CAAC,MAAM,CACxC,6BAA6B,CAC9B,CAAC;IAEF,8DAA8D;IACjD,6BAAa,GAAG,iBAAU,CAAC,MAAM,CAC5C,uBAAuB,CACxB,CAAC;IAEF;;OAEG;IACU,8BAAc,GAAG,iBAAU,CAAC,MAAM,CAC7C,wBAAwB,CACzB,CAAC;IAEF;;OAEG;IACU,wCAAwB,GAAG,iBAAU,CAAC,MAAM,CACvD,mCAAmC,CACpC,CAAC;IAEF;;OAEG;IACU,yCAAyB,GAAG,iBAAU,CAAC,MAAM,CACxD,kCAAkC,CACnC,CAAC;IAEF;;OAEG;IACU,0CAA0B,GAAG,iBAAU,CAAC,MAAM,CACzD,kCAAkC,CACnC,CAAC;AACJ,CAAC,EArCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAqC/B"}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/logging
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
@@ -1 +1 @@
1
- {"version":3,"file":"logging.component.js","sourceRoot":"","sources":["../src/logging.component.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AAgB,CAkC5B;AAlCY,4CAAgB"}
package/dist/winston.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
- // Copyright IBM Corp. 2019. All Rights Reserved.
2
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
3
3
  // Node module: @loopback/logging
4
4
  // This file is licensed under the MIT License.
5
5
  // License text available at https://opensource.org/licenses/MIT
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.WinstonLoggerProvider = exports.WINSTON_FORMAT = exports.WINSTON_TRANSPORT = exports.WinstonTransports = exports.format = exports.WinstonFormat = void 0;
7
+ exports.WinstonLoggerProvider = exports.WINSTON_FORMAT = exports.WINSTON_TRANSPORT = exports.WinstonTransports = exports.WinstonLogger = exports.format = exports.WinstonFormat = void 0;
8
8
  const tslib_1 = require("tslib");
9
9
  const core_1 = require("@loopback/core");
10
10
  const winston_1 = require("winston");
@@ -15,6 +15,7 @@ var logform_1 = require("logform");
15
15
  Object.defineProperty(exports, "WinstonFormat", { enumerable: true, get: function () { return logform_1.Format; } });
16
16
  var winston_2 = require("winston");
17
17
  Object.defineProperty(exports, "format", { enumerable: true, get: function () { return winston_2.format; } });
18
+ Object.defineProperty(exports, "WinstonLogger", { enumerable: true, get: function () { return winston_2.Logger; } });
18
19
  Object.defineProperty(exports, "WinstonTransports", { enumerable: true, get: function () { return winston_2.transports; } });
19
20
  /**
20
21
  * An extension point for winston transports
@@ -1 +1 @@
1
- {"version":3,"file":"winston.js","sourceRoot":"","sources":["../src/winston.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAAoE;AAEpE,qCAMiB;AAGjB;;GAEG;AACH,mCAGiB;AAFf,wGAAA,MAAM,OAAiB;AAGzB,mCAKiB;AAJf,iGAAA,MAAM,OAAA;AAGN,4GAAA,UAAU,OAAqB;AAGjC;;GAEG;AACU,QAAA,iBAAiB,GAAG,2BAA2B,CAAC;AAE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iB;AAEvB,4GAAA,UAAU,OAAqB;AAGjC;;GAEG;AACU,QAAA,iBAAiB,GAAG,2BAA2B,CAAC;AAE7D;;GAEG;AACU,QAAA,cAAc,GAAG,wBAAwB,CAAC;AAEvD;;GAEG;AACH,IAAa,qBAAqB,GAAlC,MAAa,qBAAqB;IAChC;IACE;;OAEG;IAEK,UAA+B;IACvC;;OAEG;IAEK,OAAyB;IACjC;;OAEG;IACe,UAAyB,EAAE;QATrC,eAAU,GAAV,UAAU,CAAqB;QAK/B,YAAO,GAAP,OAAO,CAAkB;QAIf,YAAO,GAAP,OAAO,CAAoB;IAC5C,CAAC;IAEJ,KAAK,CAAC,KAAK;QACT,IAAI,UAAU,GAAG,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;QACzC,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE;YAC3B,UAAU,GAAG,CAAC,IAAI,oBAAgB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;SACjD;QACD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,OAAO,EAAE,CAAC;QACrC,OAAO,IAAA,sBAAY,EAAC;YAClB,UAAU;YACV,MAAM,EAAE,gBAAM,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;YAClC,GAAG,IAAI,CAAC,OAAO;SAChB,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA9BY,qBAAqB;IAK7B,mBAAA,IAAA,iBAAU,EAAC,yBAAiB,CAAC,CAAA;IAK7B,mBAAA,IAAA,iBAAU,EAAC,sBAAc,CAAC,CAAA;IAK1B,mBAAA,IAAA,aAAM,GAAE,CAAA;;GAfA,qBAAqB,CA8BjC;AA9BY,sDAAqB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/logging",
3
3
  "description": "An extension exposes logging for Winston and Fluentd with LoopBack 4",
4
- "version": "0.9.0",
4
+ "version": "0.9.3",
5
5
  "keywords": [
6
6
  "LoopBack",
7
7
  "Cloud Native",
@@ -12,8 +12,8 @@
12
12
  "license": "MIT",
13
13
  "main": "dist/index.js",
14
14
  "types": "dist/index.d.ts",
15
- "author": "IBM Corp.",
16
- "copyright.owner": "IBM Corp.",
15
+ "author": "IBM Corp. and LoopBack contributors",
16
+ "copyright.owner": "IBM Corp. and LoopBack contributors",
17
17
  "repository": {
18
18
  "type": "git",
19
19
  "url": "https://github.com/loopbackio/loopback-next.git",
@@ -40,24 +40,24 @@
40
40
  "templates"
41
41
  ],
42
42
  "peerDependencies": {
43
- "@loopback/core": "^4.0.0",
44
- "@loopback/rest": "^12.0.0"
43
+ "@loopback/core": "^4.0.3",
44
+ "@loopback/rest": "^12.0.3"
45
45
  },
46
46
  "dependencies": {
47
47
  "fluent-logger": "^3.4.1",
48
48
  "morgan": "^1.10.0",
49
49
  "tslib": "^2.4.0",
50
- "winston": "^3.7.2",
50
+ "winston": "^3.8.1",
51
51
  "winston-transport": "^4.5.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@loopback/build": "^9.0.0",
55
- "@loopback/core": "^4.0.0",
56
- "@loopback/eslint-config": "^13.0.0",
57
- "@loopback/rest": "^12.0.0",
58
- "@loopback/testlab": "^5.0.0",
54
+ "@loopback/build": "^9.0.3",
55
+ "@loopback/core": "^4.0.3",
56
+ "@loopback/eslint-config": "^13.0.3",
57
+ "@loopback/rest": "^12.0.3",
58
+ "@loopback/testlab": "^5.0.3",
59
59
  "@types/morgan": "^1.9.3",
60
- "@types/node": "^12.20.50"
60
+ "@types/node": "^14.18.26"
61
61
  },
62
- "gitHead": "61453a3d7a16f9f37875a3f2c2a071568eb3e3af"
62
+ "gitHead": "296d9a9577fd058d1a2b2386087686cefa65a7a9"
63
63
  }
@@ -1,4 +1,4 @@
1
- // Copyright IBM Corp. 2019,2020. All Rights Reserved.
1
+ // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
2
2
  // Node module: @loopback/logging
3
3
  // This file is licensed under the MIT License.
4
4
  // License text available at https://opensource.org/licenses/MIT
@@ -1,4 +1,4 @@
1
- // Copyright IBM Corp. 2019,2020. All Rights Reserved.
1
+ // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
2
2
  // Node module: @loopback/logging
3
3
  // This file is licensed under the MIT License.
4
4
  // License text available at https://opensource.org/licenses/MIT
package/src/fluent.ts CHANGED
@@ -1,13 +1,12 @@
1
- // Copyright IBM Corp. 2019. All Rights Reserved.
1
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
2
2
  // Node module: @loopback/logging
3
3
  // This file is licensed under the MIT License.
4
4
  // License text available at https://opensource.org/licenses/MIT
5
5
 
6
6
  import {Binding, config, Getter, inject, Provider} from '@loopback/core';
7
- import {createFluentSender, FluentSender, Options} from 'fluent-logger';
8
- import {LoggingBindings} from './keys';
9
- import fluent from 'fluent-logger';
7
+ import fluent, {createFluentSender, FluentSender, Options} from 'fluent-logger';
10
8
  import TransportStream from 'winston-transport';
9
+ import {LoggingBindings} from './keys';
11
10
 
12
11
  export {FluentSender} from 'fluent-logger';
13
12
 
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright IBM Corp. 2019,2020. All Rights Reserved.
1
+ // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
2
2
  // Node module: @loopback/logging
3
3
  // This file is licensed under the MIT License.
4
4
  // License text available at https://opensource.org/licenses/MIT
@@ -1,4 +1,4 @@
1
- // Copyright IBM Corp. 2019. All Rights Reserved.
1
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
2
2
  // Node module: @loopback/logging
3
3
  // This file is licensed under the MIT License.
4
4
  // License text available at https://opensource.org/licenses/MIT
@@ -1,4 +1,4 @@
1
- // Copyright IBM Corp. 2019. All Rights Reserved.
1
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
2
2
  // Node module: @loopback/logging
3
3
  // This file is licensed under the MIT License.
4
4
  // License text available at https://opensource.org/licenses/MIT
package/src/keys.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright IBM Corp. 2019,2020. All Rights Reserved.
1
+ // Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
2
2
  // Node module: @loopback/logging
3
3
  // This file is licensed under the MIT License.
4
4
  // License text available at https://opensource.org/licenses/MIT
@@ -1,4 +1,4 @@
1
- // Copyright IBM Corp. 2019. All Rights Reserved.
1
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
2
2
  // Node module: @loopback/logging
3
3
  // This file is licensed under the MIT License.
4
4
  // License text available at https://opensource.org/licenses/MIT
package/src/winston.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright IBM Corp. 2019. All Rights Reserved.
1
+ // Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
2
2
  // Node module: @loopback/logging
3
3
  // This file is licensed under the MIT License.
4
4
  // License text available at https://opensource.org/licenses/MIT