From 7dded329ee2a0eb59c8229c6b15235a25dffe864 Mon Sep 17 00:00:00 2001 From: skelmis Date: Sun, 21 Apr 2024 23:11:19 +1200 Subject: [PATCH] chore: move stats.py to logoo --- suggestions/stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suggestions/stats.py b/suggestions/stats.py index b3c5d75..34e76da 100644 --- a/suggestions/stats.py +++ b/suggestions/stats.py @@ -2,7 +2,6 @@ import asyncio import datetime -import logging from enum import Enum from typing import TYPE_CHECKING, Optional, Type @@ -10,6 +9,7 @@ from alaric import Cursor, AQ from alaric.comparison import EQ from commons.caching import TimedCache +from logoo import Logger from suggestions.objects.stats import MemberStats, MemberCommandStats @@ -17,7 +17,7 @@ from suggestions import State, SuggestionsBot from suggestions.database import SuggestionsMongoManager -log = logging.getLogger(__name__) +log = Logger(__name__) class StatsEnum(Enum):