topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday December 2, 2024, 8:42 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: VB.NET Log to file code  (Read 2879 times)

jumper

  • Participant
  • Joined in 2016
  • *
  • default avatar
  • Posts: 21
    • View Profile
    • Donate to Member
VB.NET Log to file code
« on: May 29, 2016, 08:46 AM »
Hi, I thought I would ask about something. I have a log to file method for vb.net and thought I would ask if I should post it or not. I use it for debugging and standard logging. One nice thing it does is: If you use it one way, it just logs to a file, but you can also use it, for example, in a try and catch block. And then you can change the way you you log to include what method you are in when it goes to the catch block. Of course you can use the method thing where ever you are in the code.

just wondering. Oh, I'm a c++ guy too but when I retired, I picked up vb.net just to have fun.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
Re: VB.NET Log to file code
« Reply #1 on: May 29, 2016, 11:25 AM »
There's the area Developer's Corner on the forums.  I think it would be totally OK to post it there.

And welcome to the site!

jumper

  • Participant
  • Joined in 2016
  • *
  • default avatar
  • Posts: 21
    • View Profile
    • Donate to Member
Re: VB.NET Log to file code
« Reply #2 on: May 29, 2016, 11:30 AM »
Hey, that's great. Think I will stop by and maybe sow it to them