Should I add slf4j dependency to implement Sentry.io or not?










3














I'm going to implement Sentry.io Log Service in my Android App.There is a comment in it's installation guide which says:




// this dependency is not required if you are already using your own
// slf4j implementation
compile 'org.slf4j:slf4j-nop:1.7.25'



I don't know I should add this dependency or not.



Does Android use it's own slf4j implementation?










share|improve this question

















  • 1




    No, Android does not include an slf4j implementation out of the box.
    – Henry
    Nov 12 at 13:34










  • And I'm not using my own slf4j implementation, too. so I should add this dependency. Am I right?
    – Alireza Noorali
    Nov 12 at 13:39






  • 2




    Yes, you are right.
    – Henry
    Nov 12 at 13:53















3














I'm going to implement Sentry.io Log Service in my Android App.There is a comment in it's installation guide which says:




// this dependency is not required if you are already using your own
// slf4j implementation
compile 'org.slf4j:slf4j-nop:1.7.25'



I don't know I should add this dependency or not.



Does Android use it's own slf4j implementation?










share|improve this question

















  • 1




    No, Android does not include an slf4j implementation out of the box.
    – Henry
    Nov 12 at 13:34










  • And I'm not using my own slf4j implementation, too. so I should add this dependency. Am I right?
    – Alireza Noorali
    Nov 12 at 13:39






  • 2




    Yes, you are right.
    – Henry
    Nov 12 at 13:53













3












3








3







I'm going to implement Sentry.io Log Service in my Android App.There is a comment in it's installation guide which says:




// this dependency is not required if you are already using your own
// slf4j implementation
compile 'org.slf4j:slf4j-nop:1.7.25'



I don't know I should add this dependency or not.



Does Android use it's own slf4j implementation?










share|improve this question













I'm going to implement Sentry.io Log Service in my Android App.There is a comment in it's installation guide which says:




// this dependency is not required if you are already using your own
// slf4j implementation
compile 'org.slf4j:slf4j-nop:1.7.25'



I don't know I should add this dependency or not.



Does Android use it's own slf4j implementation?







android slf4j






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 12 at 12:27









Alireza Noorali

1,404633




1,404633







  • 1




    No, Android does not include an slf4j implementation out of the box.
    – Henry
    Nov 12 at 13:34










  • And I'm not using my own slf4j implementation, too. so I should add this dependency. Am I right?
    – Alireza Noorali
    Nov 12 at 13:39






  • 2




    Yes, you are right.
    – Henry
    Nov 12 at 13:53












  • 1




    No, Android does not include an slf4j implementation out of the box.
    – Henry
    Nov 12 at 13:34










  • And I'm not using my own slf4j implementation, too. so I should add this dependency. Am I right?
    – Alireza Noorali
    Nov 12 at 13:39






  • 2




    Yes, you are right.
    – Henry
    Nov 12 at 13:53







1




1




No, Android does not include an slf4j implementation out of the box.
– Henry
Nov 12 at 13:34




No, Android does not include an slf4j implementation out of the box.
– Henry
Nov 12 at 13:34












And I'm not using my own slf4j implementation, too. so I should add this dependency. Am I right?
– Alireza Noorali
Nov 12 at 13:39




And I'm not using my own slf4j implementation, too. so I should add this dependency. Am I right?
– Alireza Noorali
Nov 12 at 13:39




2




2




Yes, you are right.
– Henry
Nov 12 at 13:53




Yes, you are right.
– Henry
Nov 12 at 13:53












1 Answer
1






active

oldest

votes


















1














As Henry said in comments, Android doesn't include an slf4j implementation, So I Should Add this dependency to get ready to setup Sentry.






share|improve this answer




















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53262200%2fshould-i-add-slf4j-dependency-to-implement-sentry-io-or-not%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    As Henry said in comments, Android doesn't include an slf4j implementation, So I Should Add this dependency to get ready to setup Sentry.






    share|improve this answer

























      1














      As Henry said in comments, Android doesn't include an slf4j implementation, So I Should Add this dependency to get ready to setup Sentry.






      share|improve this answer























        1












        1








        1






        As Henry said in comments, Android doesn't include an slf4j implementation, So I Should Add this dependency to get ready to setup Sentry.






        share|improve this answer












        As Henry said in comments, Android doesn't include an slf4j implementation, So I Should Add this dependency to get ready to setup Sentry.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 21 at 18:19









        Alireza Noorali

        1,404633




        1,404633



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53262200%2fshould-i-add-slf4j-dependency-to-implement-sentry-io-or-not%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            How to read a connectionString WITH PROVIDER in .NET Core?

            Node.js Script on GitHub Pages or Amazon S3

            Museum of Modern and Contemporary Art of Trento and Rovereto