Name | Description | |
---|---|---|
ConcreteLog Constructor | Perform initialization including loading the configuration |
The following tables list the members exposed by ConcreteLog.
Name | Description | |
---|---|---|
ConcreteLog Constructor | Perform initialization including loading the configuration |
Name | Description | |
---|---|---|
Config | The logging configuration | |
ConfigurationXml | Get/Set the configuration as serialized XML | |
LicenseKey | The license key from your receipt | |
LoggingException | The last exception that occured while attempting to log. The default is null if there is no exception. | |
MessagePrefix | Prefix all messages with the supplied string | |
QueueLength | The number of items in the queue to be logged for asynchronous targets | |
TotalLogCount | The total number of messages logged for all targets | |
UserName | The user name from your receipt for the license |
Name | Description | |
---|---|---|
ClearLog | Clear all logging 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 | Overloaded. Implement IDisposable. Do not make this method virtual. A derived class should not be able to override this method. | |
EmailLogFile | Overloaded. Email all log files for all active targets that inherit from BaseFileTarget | |
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 loggers to flush | |
GetTargetByName | Get a loggng target by 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 display the performance | |
PushMethod | Push a method on to the stack to measure 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 |