Coverage for ntnlog / __init__.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.14.0, created at 2026-05-21 04:50 +0000

1""" 

2ntnlog - Lightweight Python logger with timestamped file output, 

3caller stack tracing, and working-directory-scoped file utilities. 

4""" 

5 

6from .ntn_levels import Level, LevelStr, LevelLike 

7from .ntn_logging import Logger 

8from .ntn_config import ( 

9 GLOBAL_LOGGING_ENABLED, 

10 GLOBAL_LOG_TRACING_ENABLED, 

11 GLOBAL_LOG_LEVEL, 

12 GLOBAL_MAX_BYTES, 

13 GLOBAL_BACKUP_COUNT, 

14 GLOBAL_LOG_COLORS, 

15) 

16from .ntn_file_utils import ( 

17 FileUtilsError, 

18 FileExecutionError, 

19 FileOperator, 

20 file_verify_path, 

21 file_verify_file, 

22) 

23from . import ntn_utils as utils 

24 

25__version__ = "0.6.0" 

26__author__ = "Nathan T Nguyen" 

27 

28__all__ = [ 

29 "Level", 

30 "LevelStr", 

31 "LevelLike", 

32 "Logger", 

33 "GLOBAL_LOGGING_ENABLED", 

34 "GLOBAL_LOG_TRACING_ENABLED", 

35 "GLOBAL_LOG_LEVEL", 

36 "GLOBAL_MAX_BYTES", 

37 "GLOBAL_BACKUP_COUNT", 

38 "GLOBAL_LOG_COLORS", 

39 "FileUtilsError", 

40 "FileExecutionError", 

41 "FileOperator", 

42 "file_verify_path", 

43 "file_verify_file", 

44 "utils", 

45]