Skip to content

Commit

Permalink
v2.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
ddc committed Nov 23, 2024
1 parent 669bd92 commit 94f8a6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,36 +71,35 @@ logger = TimedRotatingLog(
logger.warning("This is a warning example")
```

## Example of output

### Example of output
`[2024-10-08T19:08:56.918]:[WARNING]:[app]:This is a warning example`



# Source Code
### Build
```shell
poetry build -f wheel
```


### Publish to test pypi
```shell
poetry publish -r test-pypi
```


### Publish to pypi
```shell
poetry publish
```

### Run Tests
```shell
poetry run coverage run -m pytest -v
```

### Get Coverage Report
### Run Tests and Get Coverage Report
```shell
poetry run coverage report
poetry run coverage run --omit=./tests/* --source=./ddcLogs -m pytest -v && poetry run coverage report
```


# License
Released under the [MIT License](LICENSE)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "ddcLogs"
version = "2.0.12"
version = "2.0.13"
description = "Custom log with rotations"
license = "MIT"
readme = "README.md"
Expand Down

0 comments on commit 94f8a6a

Please sign in to comment.