typelevel / typelevel/log4cats

Way to change logger name

Open
#238 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
416
Forks
77
Avg merge
6h 25m
Merged PRs (30d)
3

Description

It would be nice for me to change the name of a passed Logger instance so I can differentiate across classes.

I think a method like
def withName(s: String): Logger[F]
would do

WDYT?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Logger API and its implementations, then review how a passed Logger instance is used across classes. Determine the scope of supporting a withName(s: String): Logger[F] operation and verify that callers can distinguish logger names without changing existing logging behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.