Name | Description | |
---|---|---|
ClearLog | Clear all the logs for all targets | |
CloseAllConnections | Close all the connections to all targets. Closes all file streams, database connections etc. | |
Debug | Overloaded. Log a Debug message | |
DebugEx | Log a formatted debug message similar to console.writeline | |
Dispose | Dispose of managed resources including Closing Database Connections, and Files | |
EmailLogFile | Overloaded. Email a log file | |
Error | Overloaded. Log an error message | |
ErrorEx | Log a formatted debug message similar to console.writeline | |
Fatal | Overloaded. The application is about to crash. Log a fatal message. | |
FatalEx | Log a formatted debug message similar to console.writeline | |
Flush | Wait for the specified number of milliseconds for asynchronous targets to log | |
GetTargetByName | Get a target by its name | |
Info | Overloaded. Log an informational message | |
InfoEx | Log a formatted debug message similar to console.writeline | |
LoadConfiguration | 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 | |
LoadConfigurationFromAppConfig | Load the configuration from the specified app.config or web.config file | |
LoadConfigurationFromXml | Load the configuration from the specified XML file | |
LogAttachment | Overloaded. Log an attachment to the BinaryFileTarget. If no binary target is attached, nothing will be logged | |
LogCustomLogEntry | Log a custom log entry | |
LogDataSet | Log a data set | |
LogDataTable | Log a data table | |
LogDataView | Log a data view | |
LogException | Overloaded. Log an exception | |
LogExceptionEx | Log an exception with a formatted message | |
LogObject<T> | Log an object of any type | |
LogStackTrace | Overloaded. Log a stack trace, skipping frames | |
LogXmlDocument | Log an XML Document | |
PopMethod | Pop a method from the stack and measure the performance | |
PushMethod | Push a method on to a stack for tracking performance | |
ResetConfiguration | Clear all configuration | |
SaveConfigurationToAppConfigOrWebConfig | Overloaded. Save the current configuration to the app.config or web.config file depending upon the application | |
SaveConfigurationToXmlFile | Overloaded. Save configuration to Log.Config file in the current directory | |
ValidateUserNameAndKey | Validate current user name and license key | |
Warn | Overloaded. Log a warning message | |
WarnEx | Log a formatted debug message similar to console.writeline |