Barcode Xpress for .NET v13.5 - Updated
ErrorLevel Property
Example 




Accusoft.BarcodeXpressSdk Namespace > BarcodeXpress Class : ErrorLevel Property
This propery is deprecated, use the property DebugErrorLevel instead. Gets and sets the error level of items that the component should write to the debug log file.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<ObsoleteAttribute("Use DebugErrorLevel")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Property ErrorLevel As ErrorLevelInfo
'Usage
 
Dim instance As BarcodeXpress
Dim value As ErrorLevelInfo
 
instance.ErrorLevel = value
 
value = instance.ErrorLevel
[Browsable(false)]
[Obsolete("Use DebugErrorLevel")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public ErrorLevelInfo ErrorLevel {get; set;}
[Browsable(false)]
[Obsolete("Use DebugErrorLevel")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public: __property ErrorLevelInfo get_ErrorLevel();
public: __property void set_ErrorLevel( 
   ErrorLevelInfo value
);
[Browsable(false)]
[Obsolete("Use DebugErrorLevel")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public:
property ErrorLevelInfo ErrorLevel {
   ErrorLevelInfo get();
   void set (    ErrorLevelInfo value);
}

Property Value

The ErrorLevel enumeration value set.
Remarks

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.

Default value: Production

Note: This property will have no effect if the Debug property is set to false.

Example
...
// Set the ErrorLevel of the debugging to Development
bcXpress.ErrorLevel = Accusoft.BarcodeXpressSdk.ErrorLevel.Development;
...
See Also

Reference

BarcodeXpress Class
BarcodeXpress Members