B
BobLaughland
Hi All,
I am development an ASP .NET C# web site.
Just wondering the best way to implement logging on my web site. (I
have a logging class to log database access, exceptions, etc, etc).
I have about 10 pages in my web site (that is 10 seperate c# files with
code), and 4 separate classes in the App_Code directory.
The issue is that I want to create 1 instance of the logging class that
can be accessed by all of my C# files.
It seems to me that the C# files are quite separate because they are
each a class, so I am struggling to see an easy way of doing that.
Thanks,
Peter.
I am development an ASP .NET C# web site.
Just wondering the best way to implement logging on my web site. (I
have a logging class to log database access, exceptions, etc, etc).
I have about 10 pages in my web site (that is 10 seperate c# files with
code), and 4 separate classes in the App_Code directory.
The issue is that I want to create 1 instance of the logging class that
can be accessed by all of my C# files.
It seems to me that the C# files are quite separate because they are
each a class, so I am struggling to see an easy way of doing that.
Thanks,
Peter.