10 lines
437 B
Go
10 lines
437 B
Go
|
package adverr
|
||
|
|
||
|
// TraceCallStack decides if any call stack traces will be gathered when creating Errors
|
||
|
// If your application is doing performance-heavy tasks with lots of Error creations, you may consider setting this to false
|
||
|
// If set to false, all CallTraces in Error will be nil
|
||
|
var TraceCallStack bool = true
|
||
|
|
||
|
// CallStackLength decides how many calls from the call stack should be gathered at most
|
||
|
var CallStackLength int = 100
|