fix: replace console logging with logger across services and features (#26127)
Co-authored-by: Dhairyashil Shinde <[email protected]>
This commit is contained in:
1 parent
a2cb529d62
commit
96f8a89efa
6 files changed
+20
-15
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import logger from "@calcom/lib/logger";
|
||||
|
||||
import { Task } from "./repository";
|
||||
import type { TaskTypes } from "./tasker";
|
||||
import { type TaskerCreate, type Tasker } from "./tasker";
|
||||
@@ -16,7 +18,7 @@ export class InternalTasker implements Tasker {
|
||||
|
||||
async cleanup(): Promise<void> {
|
||||
const count = await Task.cleanup();
|
||||
console.info(`Cleaned up ${count} tasks`);
|
||||
logger.info(`Cleaned up ${count} tasks`);
|
||||
}
|
||||
|
||||
async cancel(id: string): Promise<string> {
|
||||
|
||||
Reference in new issue
Block a user