fix: update the winston logger to use namespace

fix #1874
This commit is contained in:
Rogerio Angeliski
2020-08-08 15:58:06 -03:00
parent eddaf57616
commit f73dc889cb
2 changed files with 2 additions and 2 deletions
@@ -15,7 +15,7 @@
*/
import { createRouter } from './router';
import winston from 'winston';
import * as winston from 'winston';
import { ConfigReader } from '@backstage/config';
import { loadBackendConfig } from '@backstage/backend-common';
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { PassThrough } from 'stream';
import winston from 'winston';
import * as winston from 'winston';
import { JsonValue } from '@backstage/config';
export const makeLogStream = (meta: Record<string, JsonValue>) => {