📁
SKYSHELL MANAGER
PHP v8.1.34
Create
Create
Path:
root
/
home
/
terracebizon
/
public_html
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
config.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
12934.91 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: logging_tools.py
from ptrace.tools import minmax from logging import ERROR, WARNING, INFO, DEBUG def getLogFunc(logger, level): """ Get the logger function for the specified logging level. """ if level == ERROR: return logger.error elif level == WARNING: return logger.warning elif level == INFO: return logger.info elif level == DEBUG: return logger.debug else: return logger.error def changeLogLevel(level, delta): """ Compute log level and make sure that the result is in DEBUG..ERROR. >>> changeLogLevel(ERROR, -1) == WARNING True >>> changeLogLevel(DEBUG, 1) == INFO True """ return minmax(DEBUG, level + delta * 10, ERROR)
Save