Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Scobar 2 posts 73 karma points
    Jan 23, 2017 @ 03:34
    Scobar
    0

    Logging

    Hi,

    Quick question for a Umbraco beginner.

    Where do I find documentation for Umbraco's LogHelper (Umbraco.Core.Logging)?

    Thanks

  • Dennis Adolfi 1082 posts 6450 karma points MVP 6x c-trib
    Jan 23, 2017 @ 06:30
    Dennis Adolfi
    0

    Hi Scobar.

    I haven't seen an official Umbraco documentation for logging, maybe because it uses log4net which is a 3rd party project and one should check their docs?

    But here is a great blogpost on configure your own loghelpers: http://blog.darren-ferguson.com/2013/02/22/log4net-logging-from-your-custom-code-in-umbraco/

    Have a great day!

  • Scobar 2 posts 73 karma points
    Jan 24, 2017 @ 03:19
    Scobar
    1

    Thanks Dennis.

    Hopefully the Umbraco Docs can include this for future reference. (Or make it easier to find. maybe I missed it)

    Found this link too http://stackoverflow.com/questions/32823560/what-is-the-best-practice-for-logging-in-umbraco which makes a lot of sense. Using the Umbraco LogHelper should be preferred as it is independent of the logging service provider.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies