@autofleet/logger 1.2.1-beta-1 → 1.2.1

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.
Files changed (2) hide show
  1. package/index.js +0 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -36,11 +36,6 @@ const addLogsSize = winston.format((info) => {
36
36
  };
37
37
  });
38
38
 
39
- const addStackTrace = winston.format(info => ({
40
- stackTrace: console.trace(),
41
- ...info,
42
- }));
43
-
44
39
  const enumerateErrorFormat = winston.format((info) => {
45
40
  // fix for this crap: https://github.com/googleapis/nodejs-logging-winston/issues/285
46
41
  // eslint-disable-next-line no-param-reassign
@@ -73,7 +68,6 @@ const enumerateErrorFormat = winston.format((info) => {
73
68
  const getFormat = () => {
74
69
  if (isProd) {
75
70
  return winston.format.combine(
76
- addStackTrace(),
77
71
  addLogsSize(),
78
72
  enumerateErrorFormat(),
79
73
  winston.format.json(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/logger",
3
- "version": "1.2.1-beta-1",
3
+ "version": "1.2.1",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "coverage": "jest --coverage --forceExit --runInBand",