NET Logging Library
Log Class Methods


KellermanSoftware.NetLoggingLibrary Namespace : Log Class

For a list of all members of this type, see Log members.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic) Clear all the logs for all targets  
Public Methodstatic (Shared in Visual Basic) Close all the connections to all targets. Closes all file streams, database connections etc.  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Log a Debug message  
Public Methodstatic (Shared in Visual Basic) Log a formatted debug message similar to console.writeline  
Public Methodstatic (Shared in Visual Basic) Dispose of managed resources including Closing Database Connections, and Files  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Email a log file  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Log an error message  
Public Methodstatic (Shared in Visual Basic) Log a formatted debug message similar to console.writeline  
Public Methodstatic (Shared in Visual Basic)Overloaded.  The application is about to crash. Log a fatal message.  
Public Methodstatic (Shared in Visual Basic) Log a formatted debug message similar to console.writeline  
Public Methodstatic (Shared in Visual Basic) Wait for the specified number of milliseconds for asynchronous targets to log  
Public Methodstatic (Shared in Visual Basic) Get a target by its name  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Log an informational message  
Public Methodstatic (Shared in Visual Basic) Log a formatted debug message similar to console.writeline  
Public Methodstatic (Shared in Visual Basic) This automatically happens on startup. This is useful if the configuration has been modified at runtime and you want to revert to what is on disk  
Public Methodstatic (Shared in Visual Basic) Load the configuration from the specified app.config or web.config file  
Public Methodstatic (Shared in Visual Basic) Load the configuration from the specified XML file  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Log an attachment to the BinaryFileTarget. If no binary target is attached, nothing will be logged  
Public Methodstatic (Shared in Visual Basic) Log a custom log entry  
Public Methodstatic (Shared in Visual Basic) Log a data set  
Public Methodstatic (Shared in Visual Basic) Log a data table  
Public Methodstatic (Shared in Visual Basic) Log a data view  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Log an exception  
Public Methodstatic (Shared in Visual Basic) Log an exception with a formatted message  
Public Methodstatic (Shared in Visual Basic) Log an object of any type  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Log a stack trace, skipping frames  
Public Methodstatic (Shared in Visual Basic) Log an XML Document  
Public Methodstatic (Shared in Visual Basic) Pop a method from the stack and measure the performance  
Public Methodstatic (Shared in Visual Basic) Push a method on to a stack for tracking performance  
Public Methodstatic (Shared in Visual Basic) Clear all configuration  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Save the current configuration to the app.config or web.config file depending upon the application  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Save configuration to Log.Config file in the current directory  
Public Methodstatic (Shared in Visual Basic) Validate current user name and license key  
Public Methodstatic (Shared in Visual Basic)Overloaded.  Log a warning message  
Public Methodstatic (Shared in Visual Basic) Log a formatted debug message similar to console.writeline  
Top
See Also

Reference

Log Class
KellermanSoftware.NetLoggingLibrary Namespace