Skip to content

Commit

Permalink
feat(encryption): add logging configuration for AES encryption module
Browse files Browse the repository at this point in the history
  • Loading branch information
c0deplayer committed Dec 18, 2024
1 parent 81ab183 commit 0272d2b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/encryption/aes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

import logging
from typing import TYPE_CHECKING

import aiofiles
Expand All @@ -11,6 +12,18 @@
from os import PathLike


logging.basicConfig(
level=logging.INFO,
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",
handlers=[
logging.StreamHandler(),
],
)

logger = logging.getLogger(__name__)


class AESCipher:
"""AES Cipher implementation for file encryption and decryption.
Expand Down

0 comments on commit 0272d2b

Please sign in to comment.