This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
Minor bug: ForwardingDispatcher accepts the CInterop LogLevel instead of UnityEngine.LogType #753
Labels
A: core
Area: Core GDK
S: accepted
Status: This issue has been accepted.
T: enhancement
Type: This is an improvement to an existing feature
Milestone
We are accepting issues and we want your feedback.
Description
A minor aesthethical issue mostly: The GDK's logging system normally does its best to abstract away CInterop stuff away from the end user. However, for the ForwardingDispatcher's constructor, it expects a CInterop.LogLevel as an argument
Expected behaviour
I'd expect it to accept a UnityEngine.LogType instead, like the rest of the log API
Current behaviour
It expects a CInterop.LogLevel instead, forcing me to reference that assembly.
Possible solution
Change it and translate between the two via the already existing LogTypeMapping dict
Steps to reproduce
N/A
Environment
N/A
The text was updated successfully, but these errors were encountered: