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.0.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.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: usamaalicewhite-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ff87d697a2799e0055cad696ef64c2eba9036d75703f44d0df05a4f333a91a33
MD5 d0a26f5f8deb7ff957b2b85a5b21392d
BLAKE2b-256 a6a5084e86e6784cbb0340ce73b683d414401dc7392ab307e9fe5f033b3fdc20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for usamaalicewhite-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a46bb5f884b4ad4023baec975d46652d92efb06650cf3139a237c522d1032f7d
MD5 9a586509a6c857b85923e6449c2b32e9
BLAKE2b-256 393d393f33010aec89e270b82a3a95268270b0ea40684b5ffa69915ac90adef3

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