mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-07-19 10:57:28 +02:00
10 lines
307 B
Python
10 lines
307 B
Python
import logging
|
|
|
|
|
|
from src.text_generation.services.logging.abstract_logging_service import AbstractLoggingService
|
|
|
|
|
|
class FileLoggingService(AbstractLoggingService):
|
|
def __init__(self, filename):
|
|
super().__init__(handler=logging.FileHandler(filename))
|
|
self.logger = super()._get_logger() |