Comment #1 on issue 597 by pekka.klarck: Expose the current log level as variable
http://code.google.com/p/robotframework/issues/detail?id=597

Do you have a use case for this?

Have you noticed that `Set Log Level` keyword returns the old log level so you can already implement `Get Log Level` as a user keyword:

Get Log Level
    ${level} =  Set Log Level  INFO
    Set Log Level  ${level}
    [Return]  ${level}

We could easily add `Get Log Level` to BuiltIn library too, and that would be a lot easier than adding a dynamically changing variable. Would that be enough?

Reply via email to