Skip to content

Commit

Permalink
fix(transport-cleanup): cleanup unused refs and code from transports.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aston-king-sg committed Dec 15, 2022
1 parent aa5b511 commit 81f33c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/transports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ import WinstonCloudWatch from 'winston-cloudwatch';

import { LogLevel } from './types';
import { ParameterLoggerError } from './errors';
import {
CloudWatchLogs,
CloudWatchLogsClient,
CloudWatchLogsClientConfig,
} from '@aws-sdk/client-cloudwatch-logs';
import { CloudWatchLogs } from '@aws-sdk/client-cloudwatch-logs';

/**
* Basic console stdout
Expand Down Expand Up @@ -104,7 +100,6 @@ export function awsCloudWatchTransport({
const maxRetentionInDays = 180;
const minRetentionInDays = 1;
let cloudWatchLogsClientConfig;
const helloTest = 1;

if (!awsRegion) {
throw new ParameterLoggerError(
Expand Down

0 comments on commit 81f33c1

Please sign in to comment.