Skip to main content

A versatile utility library designed to streamline common development tasks.

Project description

------ ロギング機能 ------

説明

「アプリケーション全体でログを一元管理する。簡単にログを出力できる。」
これらをコンセプトとしている。

本機能はアプリ全体で一つの設定を共有する。
その為、最初にGetLoggerを呼び出した際の設定がアプリ終了時まで全てのロガーに適応される。

関数

GetLogger()

  • ログハンドラの設定とロガーの取得を行う。
  • 初期値は「毎日00時00分にログファイルをローテーションする。過去のログファイルは99ファイルまで保管される。」

サンプルコード

from UsamaAliceWhite.Logging import GetLogger  
logger = GetLogger(logger_name= __name__)
logger.info("usama alice white")

------ ディレクトリ構造 ------

UsamaAliceWhite_Ver1.0.0/
├── UsamaAliceWhite/
│   ├── Logging/
│   │   ├── Core/
│   │   │   ├── __init__.py
│   │   │   ├── Handler.py
│   │   │   └── Logger.py
│   │   ├── Shared/
│   │   │   ├── __init__.py
│   │   │   └── Singleton.py
│   │   └── __init__.py
│   ├── __init__.py
│   └── py.typed
├── pyproject.toml
└── README.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usamaalicewhite-1.0.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usamaalicewhite-1.0.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file usamaalicewhite-1.0.1.tar.gz.

File metadata

  • Download URL: usamaalicewhite-1.0.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for usamaalicewhite-1.0.1.tar.gz
Algorithm Hash digest
SHA256 71267c241c5122c6296b39ce34c311831186cd2f58b2515e44f07f84d4812cce
MD5 7c18309b37bb344cb2e8be158cd47d08
BLAKE2b-256 a0a761a2b716c141eec5abab29f6ac1738ebda1c72bf282c1fb4790e09d88bd9

See more details on using hashes here.

File details

Details for the file usamaalicewhite-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for usamaalicewhite-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 87c59ca80f9379e004c7bcb97a3de7ace418e5b2225598bb3f8c6bb8821c6b1f
MD5 4b98146804605d507699e739a753ddc9
BLAKE2b-256 4569a7eda75acd098fc040af8b8e5fa1849b2c1160e4db3f5042f93f2084c75f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page