Compare commits

..

6 Commits

Author SHA1 Message Date
Clemens Schwaighofer
2fa031f6ee Comment out log handlers until we rebuild the logging class 2025-07-08 10:01:09 +09:00
Clemens Schwaighofer
f38cce1c1d Rename src CoreLibs to corelibs 2025-07-08 09:58:33 +09:00
Clemens Schwaighofer
52dd1e7b73 Fix base folder name, must be lower case 2025-07-08 09:56:43 +09:00
Clemens Schwaighofer
661a182655 Fix __init__.py 2025-07-08 09:47:55 +09:00
Clemens Schwaighofer
d803de312d Change log file formatter order 2025-07-08 09:46:00 +09:00
Clemens Schwaighofer
57a36d64f1 UV install information link 2025-07-04 10:55:10 +09:00
35 changed files with 8 additions and 2 deletions

View File

@@ -22,6 +22,10 @@ This is a pip package that can be installed into any project and covers the foll
- script_handling: pid lock file handling, abort timer
- string_handling: byte format, datetime format, hashing, string formats for numbrers, double byte string format, etc
## UV setup
uv must be [installed](https://docs.astral.sh/uv/getting-started/installation/)
## How to publish
Have the following setup in `project.toml`

View File

@@ -30,6 +30,8 @@ class Log:
self.logger = logging.getLogger(log_name)
# set maximum logging level for all logging output
self.logger.setLevel(logging.DEBUG)
# self.handlers = []
# console logger
self.__console_handler(log_level_console)
# file logger
@@ -74,8 +76,8 @@ class Log:
formatter_file_handler = logging.Formatter(
(
'[%(asctime)s.%(msecs)03d] '
'[%(pathname)s:%(funcName)s:%(lineno)d] '
'[%(name)s:%(process)d] '
'[%(pathname)s:%(funcName)s:%(lineno)d] '
'<%(levelname)s> '
'%(message)s'
),

2
uv.lock generated
View File

@@ -35,7 +35,7 @@ wheels = [
[[package]]
name = "corelibs"
version = "0.3.1"
version = "0.4.0"
source = { editable = "." }
dependencies = [
{ name = "jmespath" },