DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: VB.NET Log to file code  (Read 4,690 times)

jumper

  • Participant
  • Joined in 2016
  • *
  • Posts: 21
VB.NET Log to file code
« on: May 29, 2016, 01:46 PM »
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: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: VB.NET Log to file code
« Reply #1 on: May 29, 2016, 04:25 PM »
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
  • *
  • Posts: 21
Re: VB.NET Log to file code
« Reply #2 on: May 29, 2016, 04:30 PM »
Hey, that's great. Think I will stop by and maybe sow it to them

Original address: https://www.donationcoder.com/forum/index.php?topic=42680.0