Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • September 30, 2016, 05:02:46 PM
  • Proudly celebrating 10 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 407 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:50 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
  • **
  • Posts: 8,276
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: VB.NET Log to file code
« Reply #1 on: May 29, 2016, 11:25:38 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:43 AM »
Hey, that's great. Think I will stop by and maybe sow it to them