Skip to content
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

CommonsLog - info level reportando warn #25

Open
jbayala opened this issue Jul 5, 2017 · 0 comments
Open

CommonsLog - info level reportando warn #25

jbayala opened this issue Jul 5, 2017 · 0 comments

Comments

@jbayala
Copy link

jbayala commented Jul 5, 2017

Favor verificar se a classe br.com.uol.pagseguro.api.utils.logging.CommonsLog, nas linhas abaixo, está chamando o método errado:

/**

  • Write messages info level logs
  • @param message Message
    */
    @OverRide
    public void info(Object message) {
    logger.warn(String.valueOf(message));
    }

/**

  • Write messages warn level logs and your throwable
  • @param message Message
  • @param t Throwable
    */
    @OverRide
    public void info(Object message, Throwable t) {
    logger.warn(String.valueOf(message), t);
    }

Deveria chamar logger.info, não ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant