miwarnec / DOTSNET

Public DOTSNET issue tracker
20 stars 0 forks source link

Allow games to implement a custom logger, rather than using Unity Debug.Log #54

Open ghost opened 2 years ago

ghost commented 2 years ago

Is your feature request related to a problem? Please describe.

For a variety of reasons, it's useful to be able to filter/silence DOTSNET log messages. Being able to route them through a game-defined logging interface would allow this to work without having forked edits locally maintained.

Describe the solution you'd like

Provide an ILogger style interface that provides a message, severity, etc (and maybe true/false whether or not a backtrace should be reported).

Describe alternatives you've considered Alternatives are: hand-edit DOTSNET code in our local repo, making future merges difficult.