Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WavesMan/Disable-automatic-Windows-update
/ _resolve_log_dir
Function
_resolve_log_dir
python/utils/logger.py:65–68 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
63
64
65
def
_resolve_log_dir() -> str:
66
# NOTE: 将日志目录置于模块上层路径,避免与源代码同级混淆;同时保证跨模块共享
67
base = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
68
return
os.path.join(base, LOG_DIR_NAME)
69
70
71
def
new_op_id() -> str:
Callers
1
setup_logging
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected