Configuration Values for operation logging.
Hierarchy
System.Object
    WebSupergoo.ImageGlue8.XConfigLog
Notes

This class is sealed. It cannot be derived from.

Properties
Property Description
BitmapFile The Bitmap log file.
Directory The directory where log files are stored.
Logging Whether to log operations.
MaxFileSize The maximum size of log files, in bytes.
MinTime The minimum log time, in milliseconds.
OperationFile The operation log file.
SaveAsFile The save as log file.
See Also

XConfig

Bitmap

Example

Here we change the operation logging configuration for our application: we enable logging to a directory called "LogDirectory" for operations that last at least 500 milliseconds. We also instruct ImageGlue to clear log files when they get bigger than 20 KB. Because we do not save the configuration values we will not alter the configuration values of other instances of ImageGlue.

[C#]

XSettings.Config.OperationLog.Logging = true;
XSettings.Config.OperationLog.Directory = Server.MapPath("LogDirectory");
XSettings.Config.OperationLog.MinTime = 500;
XSettings.Config.OperationLog.MaxFileSize = 20000;                    


[Visual Basic]

XSettings.Config.OperationLog.Logging = True
XSettings.Config.OperationLog.Directory = Server.MapPath("LogDirectory")
XSettings.Config.OperationLog.MinTime = 500
XSettings.Config.OperationLog.MaxFileSize = 20000