Skip to main content

This package provides sample loggers.

Project description

Deep Learning Tools for Pytorch

Python >= 3.8

This package provides some common configurations to quickly create your own logger through the logging library.

Installation

pip install sample_loggers

Example for using

import os
import logging
from loggers import LoggerController

os.makedirs('./output', exist_ok=True)
logger_controller = LoggerController(log_file_name="log.txt" ,output_dir=config.OUTPUT)
logger = logger_controller.create_logger(
    logger_name='food_classification',
    log_level=logging.DEBUG,
    format_type="default"
)

Update

  • 0.0.1 - Fix the bug.
  • 0.0.1 - We provide the common config for logging to create logger.

License

Sample Loggers is MIT licensed. See the LICENSE for details.

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

sample_loggers-0.0.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

sample_loggers-0.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file sample_loggers-0.0.2.tar.gz.

File metadata

  • Download URL: sample_loggers-0.0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for sample_loggers-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7857e48dd5b971cff898ecad69a1b1a44ab84397001f0cfc3dd482599c4a2ae7
MD5 979b2bc03c4d8821e80d2d0ccb6ad930
BLAKE2b-256 7b0f897da184aefce80202fd52a6a8e3bcca4492756711db1517c81dc189edb2

See more details on using hashes here.

File details

Details for the file sample_loggers-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: sample_loggers-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for sample_loggers-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6375c778949b9d072fc118d6925e60c0a376b893355d6e7755c15e2af33c6c0d
MD5 ac1353e55ceb197f6ff4705428530a06
BLAKE2b-256 8b75d86b3f552f8cf198dd3d4272457a86a2c206d93aba5b286a2d618d6e3b2f

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