LogStrackTrace.Rd
Generates a stack trace of function calls and calls info logger function in UpDraftSettings with stack trace.
LogStackTrace(moduleName, errorMessage, fileName = NULL, charLimit = 256, objectLimit = 1e+05)
moduleName | the name of the module that triggered the stack trace |
---|---|
errorMessage | the error message of the the error that triggered the stack trace |
fileName | the name of the file to output the StackTrace too. If not specified will default to logger. Captured via sink |
charLimit | character limit to limit logger statements during stack trace. |
objectLimit | the size in bytes that an object will be replaced with its class name when printing out the stack. Default is 10kb |
NULL
.