logoalt Hacker News

malfistlast Friday at 11:41 PM0 repliesview on HN

Almost every logger in java operates this way. You set your library logging to debug and the end user and configure if they want debug logs from your library or not. They can even set context variables.