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.0

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.0
File Size Uploaded Provenance Actions
usamaalicewhite-1.0.0.tar.gz 6.3 kB Without provenance Details for usamaalicewhite-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.1 kB

Release files / usamaalicewhite-1.0.0.tar.gz

Download URL usamaalicewhite-1.0.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ff87d697a2799e0055cad696ef64c2eba9036d75703f44d0df05a4f333a91a33
BLAKE2b-256 checksum
How to use checksums
a6a5084e86e6784cbb0340ce73b683d414401dc7392ab307e9fe5f033b3fdc20
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.0-py3-none-any.whl

Download URL usamaalicewhite-1.0.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a46bb5f884b4ad4023baec975d46652d92efb06650cf3139a237c522d1032f7d
BLAKE2b-256 checksum
How to use checksums
393d393f33010aec89e270b82a3a95268270b0ea40684b5ffa69915ac90adef3
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.0

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