From 5336ee8e6afb396bc1a28b0ffa61c566f41f3447 Mon Sep 17 00:00:00 2001 From: Judy Date: Thu, 28 Apr 2022 12:43:38 -0700 Subject: [PATCH] Update general-troubleshooting-steps.md --- faq/general-troubleshooting-steps.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/faq/general-troubleshooting-steps.md b/faq/general-troubleshooting-steps.md index b91ab191..7902d633 100644 --- a/faq/general-troubleshooting-steps.md +++ b/faq/general-troubleshooting-steps.md @@ -26,13 +26,13 @@ description: General troubleshooting steps 2. Set the log level - For only one client machine, add the line `LogLevel=14` to `DSConfiguration.ini` on that specific machine. - For all client machines, set [ `LogLevel` ]({{site.info}}api/WebTwain_Util.html#loglevel) to 1 in your code. This property should be set as soon as the `WebTwain` instance is created. For example, in the event `Dynamsoft_OnReady` - -```javascript -function Dynamsoft_OnReady() { - DWObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer"); - DWObject.LogLevel = 1; -} -``` + + ```javascript + function Dynamsoft_OnReady() { + DWObject = Dynamsoft.DWT.GetWebTwain("dwtcontrolContainer"); + DWObject.LogLevel = 1; + } + ``` 3. Reproduce the issue