feat: add logging utility module #1

Open
zoeyfyi wants to merge 1 commit from feat/add-logging into main
Owner

Adds a reusable logging setup function.

  • Configurable log level
  • Formatted console output with timestamps
  • Named loggers for different modules
Adds a reusable logging setup function. - Configurable log level - Formatted console output with timestamps - Named loggers for different modules
Author
Owner

Looks good! Could we also add a file handler option for writing logs to disk?

Looks good! Could we also add a file handler option for writing logs to disk?
Author
Owner

Also, should we consider using structlog for structured JSON logging in production?

Also, should we consider using `structlog` for structured JSON logging in production?
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/add-logging:feat/add-logging
git switch feat/add-logging

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feat/add-logging
git switch feat/add-logging
git rebase main
git switch main
git merge --ff-only feat/add-logging
git switch feat/add-logging
git rebase main
git switch main
git merge --no-ff feat/add-logging
git switch main
git merge --squash feat/add-logging
git switch main
git merge --ff-only feat/add-logging
git switch main
git merge feat/add-logging
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zoeyfyi/test-repo!1
No description provided.