Metadata-Version: 2.1
Name: logga
Version: 1.0.4
Summary: Python logging made super easy!
Home-page: https://github.com/loum/logga
Author: Lou Markovski
Author-email: lou.markovski@gmail.com
License: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Environment :: MacOS X
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3
Description-Content-Type: text/markdown; charset=UTF-8
Provides-Extra: dev
License-File: LICENSE.md

# Logga

- [Overview](#overview)
- [Installation](#installation)
- [Development](#development)
  - [Prerequisites](#prerequisites)
  - [Getting Started](#getting-started)
    - [(macOS Users only) Upgrading GNU Make](#macos-users-only-upgrading-gnu-make)
    - [Creating the Local Environment](#creating-the-local-environment)
      - [Local Environment Maintenance](#local-environment-maintenance)
  - [Help](#help)
  - [Running the Test Harness](#running-the-test-harness)

## Overview
Python logging made super easy!

Refer to [Logga's documentation](https://loum.github.io/logga/) for detailed instructions.

## Installation
With `pip`:
```
pip install logga
```

`git`-syntax:
```
logga @ git+https://github.com/loum/logga.git@<release_version>
```

## Development
### Prerequisites
- [GNU make](https://www.gnu.org/software/make/manual/make.html)
- Python 3 Interpreter. [We recommend installing pyenv](https://github.com/pyenv/pyenv)
- [Docker](https://www.docker.com/)

### Getting Started
[Makester](https://loum.github.io/makester/) is used as the Integrated Developer Platform.

#### (macOS Users only) Upgrading GNU Make
Follow [these notes](https://loum.github.io/makester/macos/#upgrading-gnu-make-macos) to get [GNU make](https://www.gnu.org/software/make/manual/make.html).

#### Creating the Local Environment
Get the code and change into the top level `git` project directory:
```
git clone https://github.com/loum/logga.git && cd logga
```

> **_NOTE:_** Run all commands from the top-level directory of the `git` repository.

For first-time setup, get the [Makester project](https://github.com/loum/makester.git):
```
git submodule update --init
```

Initialise the environment:
```
make init-dev
```

##### Local Environment Maintenance
Keep [Makester project](https://github.com/loum/makester.git) up-to-date with:
```
git submodule update --remote --merge
```

### Help
There should be a `make` target to get most things done. Check the help for more information:
```
make help
```

### Running the Test Harness
We use [pytest](https://docs.pytest.org/en/latest/). To run the tests:
```
make tests
```

---
[top](#logga)
