misc(repo): changed all logger names
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 57s

This commit is contained in:
Seaswimmer 2024-04-08 05:55:35 -04:00
parent b9e06d6288
commit 833d6954cc
Signed by: cswimr
GPG key ID: B8953EC01E5C4063
4 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,3 @@
from red_commons.logging import getLogger
logger = getLogger("red.seacogs.aurora")
logger = getLogger("red.SeaCogs.Aurora")

View file

@ -28,7 +28,7 @@ class Backup(commands.Cog):
def __init__(self, bot: Red):
super().__init__()
self.bot = bot
self.logger = getLogger("red.seacogs.backup")
self.logger = getLogger("red.SeaCogs.Backup")
def format_help_for_context(self, ctx: commands.Context) -> str:
pre_processed = super().format_help_for_context(ctx) or ""

View file

@ -35,7 +35,7 @@ class Bible(commands.Cog):
self.config = Config.get_conf(
self, identifier=481923957134912, force_registration=True
)
self.logger = getLogger("red.seacogs.bible")
self.logger = getLogger("red.SeaCogs.Bible")
self.config.register_global(bible="de4e12af7f28f599-02")
self.config.register_user(bible=None)

View file

@ -1,8 +1,8 @@
from red_commons import logging
from red_commons.logging import getLogger
logger = getLogger('red.seacogs.pterodactyl')
websocket_logger = getLogger('red.seacogs.pterodactyl.websocket')
logger = getLogger('red.SeaCogs.Pterodactyl')
websocket_logger = getLogger('red.SeaCogs.Pterodactyl.websocket')
if logger.level >= logging.VERBOSE:
websocket_logger.setLevel(logging.logging.INFO)
elif logger.level < logging.VERBOSE: