Skip to content

Commit

Permalink
removing unnecessary comments
Browse files Browse the repository at this point in the history
Signed-off-by: TinnyTerr <168141209+TinnyTerr@users.noreply.github.com>
  • Loading branch information
TinnyTerr committed Nov 24, 2024
1 parent 80646e1 commit 3e6278c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,13 @@ export default class Logger {
this[level.name] = (...data: any[]) => {
return new Promise<void>((resolve, reject) => {
try {
// Assuming logs methods are logging and handling data
this.logs.console(i, ...data);
this.logs.files(i, ...data);
this.logs.funcs(i, ...data);
this.logs.web(i, ...data);

// Resolving the promise after the logs
resolve();
} catch (error) {
// Rejecting the promise if there's an error
reject(error);
}
});
Expand Down

0 comments on commit 3e6278c

Please sign in to comment.