Metadata-Version: 2.1
Name: simplelogger-python
Version: 0.1.8
Summary: A simple logger I made for some projects a year ago.
Home-page: https://github.com/Chris1320/SimpleLogger-python
Author: Chris1320
Author-email: chris1320is@protonmail.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: System :: Logging
Description-Content-Type: text/markdown
Provides-Extra: Colors
License-File: LICENSE

# SimpleLogger

## Description

A simple logger I made for some projects a year ago.

## Usage

```python
from simplelogger.logger import Logger  # Import the logger.

log_obj = Logger(  # Create a logger object.
    "Test Logger",  # The name of the logger.
    "logfile.log",  # Where to write the logs.
    loglevel=5  # Set the log level. Capture all types of log.
)

log_obj.info("Sample Information message.")
log_obj.warning("Sample warning message.")
log_obj.error("Sample error message.")
log_obj.debug("Sample debug message.")
log_obj.critical("Sample critical message.")

```

## License

MIT License

Copyright (c) 2020-2022 Chris1320

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


