Esqarrouth / QorumLogs

:closed_book: Swift Logging Utility for Xcode & Google Docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to Set Log Levels Per File

semireg opened this issue · comments

This can be tagged as a feature request.

I wrote a wrapper for Qorum that does a few things I wish Qorum did. Perhaps some inspiration can be drawn from it for future changes. For example, setting onlyShowThisFile or minimumLogLevelShown should use the same prefix format for other log events so they can be tracked to a line number.

https://gist.github.com/semireg/66a127b6ae940984738e84334af84357

While minimumLogLevelShown is useful, one missing feature is the ability to set different levels for each file. That way, a global can be set such as ERROR and then developers can turn on debugging on a per-file basis.

Thoughts?

Sounds good but maybe need an easier way to setup for the users? Without affect the old users