none
About Logging framework

    Question

  • Hello,

    1.

    What is the purpose to use the logging framework?

    2.

    What is the benefit to use a logging framework?

    Thank you!

    Saturday, April 1, 2017 4:11 PM

Answers

  • Hi Sakura Data,

    To answer your both query:

    The benefit of using logging framework is you can easily keep track what is happening in various functions/ methods inside your project. Like what method is getting called, what value is being passed etc. so that when an error occurs/ your project crashes you can easily know what went wrong by looking into the logs in log file.


    Thanks,
    Sabah Shariq

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Tuesday, April 4, 2017 5:13 AM
    Moderator

All replies

  • Hello,

    I would suggest reading the following.

    https://msdn.microsoft.com/en-us/magazine/mt694089.aspx


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    Saturday, April 1, 2017 8:34 PM
    Moderator
  • Hi Sakura Data,

    Thank you for posting here.

    For your question, you could refer to the following link.

    What is the point of using a Logging framework?

    I hope this would be helpful.

    Best Regards,

    Wendy



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, April 3, 2017 7:13 AM
    Moderator
  • Hi Sakura Data,

    To answer your both query:

    The benefit of using logging framework is you can easily keep track what is happening in various functions/ methods inside your project. Like what method is getting called, what value is being passed etc. so that when an error occurs/ your project crashes you can easily know what went wrong by looking into the logs in log file.


    Thanks,
    Sabah Shariq

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Tuesday, April 4, 2017 5:13 AM
    Moderator