public enum LogType
public enum class LogType : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0 | Error | Represents an error log level. |
1 | Warning | Represents a warning log level. |
2 | Information | Represents an information log level. |
3 | Debug | Represents a debug log level. |
4 | Audit | Represents an audit log level. |
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