Sets the amount of information written to the debug log file. To create a log file, you must also specify the full path of the file in the HTMLToWord.LogFileName property. If no errors occur then HTMLToWord does not generate a log file.

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public LoggingLevel DebugLogLevel{ get; set; }
</pre></td></tr></table>
<p>Public Property DebugLogLevel() As LoggingLevel</p>

For a list of valid property values, see HTMLToWord.LoggingLevel.


//--- Get the current logging level.
HTMLToWord.LoggingLevel currentLogLevel = h2w.DebugLogLevel;

//--- Set the log level of the h2w object equal to Debug
h2w.LoggingLevel = HTMLToWord.LoggingLevel.Debug;
h2w.LogFileName = @"c:\HTMLToWord\Logfile.txt";

'--- Get the current logging level.
Dim currentLogLevel As HTMLToWord.LoggingLevel = h2w.DebugLogLevel

'--- Set the log level of the oHTMLToWord object equal to Trace
Dim h2w As New HTMLToWord()
h2w.DebugLogLevel = HTMLToWord.LoggingLevel.Trace
h2w.LogFileName = "c:\HTMLToWord\Logfile.txt"