Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to use the TracerX library under VB.net . I can register the TracerX library under VB.net, but if i'm not able to instance any class. I always get the message: "There is no public constructor!" Could you please help?
Posted

Take a look at this article on TracerX[^]. It would appear that you instantiate Logger classes via a call to the static GetLogger method.
 
Share this answer
 
This program runs for me and generates a text file (though I prefer the binary file to use with the viewer).

VB
Imports TracerX
Module Module1
    Dim Log As Logger = Logger.GetLogger("VB Sample")
    Sub Main()
        Logger.DefaultTextFile.Open()
        Log.Info("Hello from VB!")
    End Sub
End Module
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900