Skip to main content

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

説明

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

本機能はアプリ全体で一つの設定を共有する。
その為、最初に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

Metadata

Release files for UsamaAliceWhite 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for UsamaAliceWhite 1.0.1
File Size Uploaded Provenance Actions
usamaalicewhite-1.0.1.tar.gz 6.3 kB Without provenance Details for usamaalicewhite-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for UsamaAliceWhite 1.0.1
File Interpreter ABI Platform Actions
usamaalicewhite-1.0.1-py3-none-any.whl Python 3 none any Details for usamaalicewhite-1.0.1-py3-none-any.whl

Total release size: 14.2 kB

Release files / usamaalicewhite-1.0.1.tar.gz

Download URL usamaalicewhite-1.0.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
71267c241c5122c6296b39ce34c311831186cd2f58b2515e44f07f84d4812cce
BLAKE2b-256 checksum
How to use checksums
a0a761a2b716c141eec5abab29f6ac1738ebda1c72bf282c1fb4790e09d88bd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / usamaalicewhite-1.0.1-py3-none-any.whl

Download URL usamaalicewhite-1.0.1-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87c59ca80f9379e004c7bcb97a3de7ace418e5b2225598bb3f8c6bb8821c6b1f
BLAKE2b-256 checksum
How to use checksums
4569a7eda75acd098fc040af8b8e5fa1849b2c1160e4db3f5042f93f2084c75f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for UsamaAliceWhite 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page