[XmlElementAttribute("custom")]
public SerializableDictionary<string, object> CustomInformation { get; set; }
[XmlElementAttribute("custom")]
public:
property SerializableDictionary<String^,Object^>^ CustomInformation {
SerializableDictionary<String^,Object^>^ get();
void set ( SerializableDictionary<String^,Object^>^ );
}
The custom information associated with the log entry.
Objects added to this list needs to be XML serializable.
using Leadtools;
using Leadtools.Logging;
using Leadtools.Logging.LoggingChannel;
//
// The log should already be configured with the correct logging channels.
//
private void Log(Logger log)
{
LogEntry entry = new LogEntry();
entry.LogType = LogType.Information;
entry.Message = "This is an information message";
entry.CustomInformation.Add("Custom", "My Custom Information");
entry.Source = "TestSource";
log.Log(entry);
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document