Skip to content

setLogLevel error in constants #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JKot-Coder opened this issue Jun 24, 2015 · 0 comments
Open

setLogLevel error in constants #10

JKot-Coder opened this issue Jun 24, 2015 · 0 comments
Assignees
Labels

Comments

@JKot-Coder
Copy link

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.

@Majchrzak Majchrzak added the bug label Jun 24, 2015
@Majchrzak Majchrzak self-assigned this Jun 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants