Skip to content

Commit 853e3fc

Browse files
committed
refactor: Rename package from TraceLog to Loghunter and update related files
1 parent fbd5893 commit 853e3fc

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ include README.md
33
include pyproject.toml
44
include setup.cfg
55

6-
recursive-include src/tracelog *.py
6+
recursive-include src/loghunter *.py
77
recursive-include docs *.md *.rst *.txt
88

99
recursive-exclude tests *.py

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# TraceLog
1+
# Loghunter
22

3-
TraceLog is a Python package designed for advanced logging capabilities, including trace and request ID management. It provides a flexible logging configuration and supports colored logging for better visibility.
3+
Loghunter is a Python package designed for advanced logging capabilities, including trace and request ID management. It provides a flexible logging configuration and supports colored logging for better visibility.
44

55
## Features
66

@@ -11,18 +11,18 @@ TraceLog is a Python package designed for advanced logging capabilities, includi
1111

1212
## Installation
1313

14-
You can install TraceLog via pip:
14+
You can install Loghunter via pip:
1515

1616
```bash
17-
pip install tracelog
17+
pip install loghunter
1818
```
1919

2020
## Usage
2121

22-
To use TraceLog in your application, you can import the necessary components:
22+
To use Loghunter in your application, you can import the necessary components:
2323

2424
```python
25-
from tracelog import LoggingSettings, LoggingConfig, tracer
25+
from loghunter import LoggingSettings, LoggingConfig, tracer
2626
```
2727

2828
Configure your logging settings:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

55
[project]
6-
name = "tracelog"
6+
name = "loghunter"
77
version = "0.1.0"
88
description = "Advanced Python logging with tracing, coloring and FastAPI integration"
99
readme = "README.md"
@@ -33,4 +33,4 @@ Repository = "https://github.com/Msameim181/Python-Logging-Best-Practice.git"
3333
Issues = "https://github.com/Msameim181/Python-Logging-Best-Practice/issues"
3434

3535
[tool.hatch.build.targets.wheel]
36-
packages = ["src/tracelog"]
36+
packages = ["src/loghunter"]

src/exmples/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from example_service import ExampleService
66
from logging_config import LoggingConfig
77
from logging_settings import LoggingSettings
8-
from tracelog.src.exmples.api_app import APIService
8+
from loghunter.src.exmples.api_app import APIService
99
from sample import Sample
1010
import asyncio
1111
from tracer import tracer
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
tracelog
1+
loghunter
22
├── src
3-
│ └── tracelog
3+
│ └── loghunter
44
│ ├── __init__.py
55
│ ├── logging_config.py
66
│ ├── logging_settings.py

0 commit comments

Comments
 (0)