-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Issue: Performance Overhead in Logging Library
Problem: The current implementation creates a new File object and calls appendText for each log entry. This results in significant performance overhead due to:
- Frequent File Operations: Each call to
appendTextinvolves opening and closing files repeatedly. - Repeated Date-Time Retrieval: Calling
LocalDateTime.now()and formatting it for each log entry.
I just wanted to understand why have you done it this way. It seems to be better to keep the log file open. May be there were some assumptions. Please let me know if I am wrong.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels