Skip to content

Latest commit

 

History

History
 
 

README.md

How to Use Loguru for Simpler Python Logging

This repository contains code related to the Real Python tutorial How to Use Loguru for Simpler Python Logging.

Setup

You should first create and activate a virtual environment:

$ python -m venv venv/
$ source venv/bin/activate

Install the pinned dependencies from requirements.txt:

(venv) $ python -m pip install -r requirements.txt

Then you can execute the provided Python scripts, for example:

(venv) $ python basic_logging.py