Accusoft.TwainProSdk Namespace > TwainPro Class : ErrorLevel Property |
This property is deprecated, please use the DebugErrorLevel property instead.
Gets or sets the error level of items that the component should write to the debug log file.'Declaration <ObsoleteAttribute("This property is deprecated, please use the DebugErrorLevel property instead.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <BrowsableAttribute(False)> Public Property ErrorLevel As ErrorLevel
'Usage Dim instance As TwainPro Dim value As ErrorLevel instance.ErrorLevel = value value = instance.ErrorLevel
[Obsolete("This property is deprecated, please use the DebugErrorLevel property instead.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [Browsable(false)] public ErrorLevel ErrorLevel {get; set;}
[Obsolete("This property is deprecated, please use the DebugErrorLevel property instead.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [Browsable(false)] public: __property ErrorLevel get_ErrorLevel(); public: __property void set_ErrorLevel( ErrorLevel value );
[Obsolete("This property is deprecated, please use the DebugErrorLevel property instead.")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [Browsable(false)] public: property ErrorLevel ErrorLevel { ErrorLevel get(); void set ( ErrorLevel value); }
The default value is Production.
This property allows you to control the amount of information that the component places into the DebugLogFile. Since it is expensive to generate and write debug log items, set this property to write the least amount of information that you will find useful.
Valid values: Production, Development, and Detailed.
Note: This property will have no effect if the Debug property is set to false.
...
// Set the ErrorLevel of the debugging
tp.ErrorLevel = Accusoft.TwainProSdk.ErrorLevel.Development;
...