Skip to content

Commit 8c05eba

Browse files
committed
Fix get_logger args
1 parent 4ce6d8f commit 8c05eba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simple_logger/logger.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ def formatTime(self, record, datefmt=None): # noqa: N802
3333

3434
def get_logger(
3535
name: str,
36-
level: int,
37-
filename: str,
36+
level: int = logging.INFO,
37+
filename: str = None,
3838
console: bool = True,
3939
file_max_bytes: int = 104857600,
4040
file_backup_count: int = 20,

0 commit comments

Comments
 (0)