Quote:
I want to create a own logging configuration without using enterprise library. I would like to create the logging configuration of throwing error in the catch block of c# asp.net web project.
You sure can create your own custom logging. However I recommend you to catch specific type of exceptions and only do a catch when it makes sense. A good rule of thumb is that you should only catch exceptions that you can properly deal with yourself. If you cannot handle the exception completely then you should let it bubble up to someone who can.
I would suggest you to give this article a read:
C# Exception Handling Best Practices: Find & Create Custom Exceptions[
^]