| SignDocDocumentLoaderinitLogging Method |
Initialize logging.
This function throws an exception if the log file cannot be opened.This function initializes logging for all threads of the current process.
Namespace:
de.softpro.signdocsdk
Assembly:
SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntaxpublic void initLogging(
string level,
string pathname,
bool setEnv
)
Parameters
- level
- Type: SystemString
The logging level: "0" (log nothing) through "5" (log everything), optionally followed by "T" to log process and thread IDs. - pathname
- Type: SystemString
The pathname of the log file. - setEnv
- Type: SystemBoolean
true to set the SPDEBUG and SPDEBUGDIR environment variables from aLevel and aPathname, respectively. This will happen only if the log file is opened successfully.
See Also