style: unused variable in logger
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled

This commit is contained in:
William Oldham 2025-04-08 22:58:32 +01:00
parent f349b9de42
commit 056e773fe8

View File

@ -24,7 +24,6 @@ function getTimeStamp(): string {
}
export function LOG_SUCCESS(input: string): void {
const time = new Date();
input = `[${getTimeStamp()}] [SUCCESS]: ${input}`;
streams.success.write(`${input}\n`);
@ -32,7 +31,6 @@ export function LOG_SUCCESS(input: string): void {
}
export function LOG_ERROR(input: string): void {
const time = new Date();
input = `[${getTimeStamp()}] [ERROR]: ${input}`;
streams.error.write(`${input}\n`);
@ -40,7 +38,6 @@ export function LOG_ERROR(input: string): void {
}
export function LOG_WARN(input: string): void {
const time = new Date();
input = `[${getTimeStamp()}] [WARN]: ${input}`;
streams.warn.write(`${input}\n`);
@ -48,7 +45,6 @@ export function LOG_WARN(input: string): void {
}
export function LOG_INFO(input: string): void {
const time = new Date();
input = `[${getTimeStamp()}] [INFO]: ${input}`;
streams.info.write(`${input}\n`);