1
0
mirror of https://github.com/otter18/tg_logger.git synced 2025-08-04 21:32:56 +02:00

Update README.md

This commit is contained in:
ChernV
2021-03-04 13:48:23 +03:00
committed by GitHub
parent 6936361103
commit 377eb2a079

View File

@ -3,13 +3,11 @@
[![](https://img.shields.io/pypi/pyversions/tg-logger.svg)](https://pypi.org/project/tg-logger/) [![](https://img.shields.io/pypi/pyversions/tg-logger.svg)](https://pypi.org/project/tg-logger/)
[![GitHub](https://img.shields.io/github/license/otter18/tg_logger)](https://github.com/otter18/tg_logger/blob/main/LICENSE) [![GitHub](https://img.shields.io/github/license/otter18/tg_logger)](https://github.com/otter18/tg_logger/blob/main/LICENSE)
Bridging python logging and files to tg bot Bridging python logging and files to tg bot
![example_scr](https://raw.githubusercontent.com/otter18/tg_logger/master/img/example_scr.png)
## Table of Contents ## Table of Contents
- [Installation & Usage](#installation--usage) - [Installation & Usage](#installation--usage)
- [Screenshot](#screenshot)
- [Examples](#examples) - [Examples](#examples)
* [Simple logging](#simple-logging) * [Simple logging](#simple-logging)
* [Flask logging](#flask-logging) * [Flask logging](#flask-logging)
@ -17,10 +15,14 @@ Bridging python logging and files to tg bot
- [FQA](#fqa) - [FQA](#fqa)
* [How to create a telegram bot?](#how-to-create-a-telegram-bot) * [How to create a telegram bot?](#how-to-create-a-telegram-bot)
* [How to get **token** and **user_id**?](#how-to-get-token-and-user_id) * [How to get **token** and **user_id**?](#how-to-get-token-and-user_id)
## Installation & Usage ## Installation & Usage
- Available by `pip install tg-logger` - Available by `pip install tg-logger`
- Use with `import tg_logger` - Use with `import tg_logger`
## Screenshot
![example_scr](https://raw.githubusercontent.com/otter18/tg_logger/master/img/example_scr.png)
## Examples ## Examples
### Simple logging ### Simple logging
```python ```python