Majchrzak / Flurry-Unity-3D

Flurry iOS and Android plugin for Unity 3D.
MIT License
64 stars 33 forks source link

setLogLevel error in constants #10

Open JKot-Coder opened 9 years ago

JKot-Coder commented 9 years ago

For android flurry method setLogLevel accepts constans from android.util.Log class. Here are these constants:

Log.ASSERT  Constant Value: 7 (0x00000007)
Log.DEBUG Constant Value: 3 (0x00000003)
Log.ERROR Constant Value: 6 (0x00000006)
Log.INFO Constant Value: 4 (0x00000004)
Log.VERBOSE Constant Value: 2 (0x00000002)
Log.WARN Constant Value: 5 (0x00000005)

But you use these constants:

    public enum LogLevel
    {
        /// <summary>
        /// No output
        /// </summary>
        None = 0,
        /// <summary>
        /// Default, outputs only critical log events
        /// </summary>
        CriticalOnly,
        /// <summary>
        /// Debug level, outputs critical and main log events
        /// </summary>
        Debug,
        /// <summary>
        /// Highest level, outputs all log events
        /// </summary>
        All
    }

As i understand, this constants are right for Ios, but wrong for android.