Skip to main content

Easy Logger

A python package for logging easily.

Installation

$ pip install easy_logger

Usage

from easy_logger import Logger

logger = Logger().get_logger(__name__)
logger.info('logger')

API

class Logger(object):

    def get_logger(name):
        """The same as get_stream_logger."""
        pass

    def get_stream_logger(name):
        """Get logger which has add streamHandler. Output log message to stream.

        :param str name: logger name
        """
        pass

    def get_file_logger(name, filepath):
        """Get logger which has add fileHandler. Output log message to specify file.

        :param str name: logger name
        :param str filepath: the log file path
        """
        pass

    def get_both_logger(name, filepath):
        """Get logger which has both add streamHandler and fileHandler.
        Output log message to stream and specify file.

        :param str name: logger name
        :param str filepath: the log file path
        """
        pass

Better

If you feel anything wrong, feedbacks or pull requests are welcomed.

Metadata

Release files for easy_logger 1.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 easy_logger 1.0
File Size Uploaded Provenance Actions
easy_logger-1.0.tar.gz 2.1 kB Without provenance Details for easy_logger-1.0.tar.gz

Release files / easy_logger-1.0.tar.gz

Download URL easy_logger-1.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
93b03165f26e0ea6011db81f2ec579b35e2f9aac3153c7594f7da63d545f87c1
BLAKE2b-256 checksum
How to use checksums
cc4a532c2d80d8e522cc7c5ae6909ab7956c19e1724aefe6e16ce4535302a34a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for easy_logger 1.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