Small logging libray I made for my own use.
Project description
kyra is a small logging library written in Python I made for my own use. This library has been tested with Python 2.7.x and Python 3.6.x.
Installation:
From source use
$ python setup.py install
or install from PyPi
$ pip install kyra
Usage:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from kyra import Logger
log = Logger()
# An absolute path can be passed to Logger() to log to a file.
@log.decorator
def sum(a, b):
return a+b
sum(2, 4)
log.error('This tests the ERROR logging call.')
License:
Copyright 2014-2017 Martin Simon Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Buy me a coffee?
If you feel like buying me a coffee (or a beer?), donations are welcome:
WDC : WbcWJzVD8yXt3yLnnkCZtwQo4YgSUdELkj HBN : F2Zs4igv8r4oJJzh4sh4bGmeqoUxLQHPki DOGE: DRBkryyau5CMxpBzVmrBAjK6dVdMZSBsuS
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
kyra-0.4.tar.gz
(6.1 kB
view details)
File details
Details for the file kyra-0.4.tar.gz
.
File metadata
- Download URL: kyra-0.4.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eae5059784dfc6f94879a7632179bcdec1f707874bd0388051a7cd20fb29e11f |
|
MD5 | 9017a94b7f317aa729041e4ad441c974 |
|
BLAKE2b-256 | cf64c749296f5aeb12c9237efae7d19e3fb0ec566351dc272d2d92c5bbcf7033 |