fixed default value for DisableTrace
This commit is contained in:
parent
023b997cb1
commit
eb155f7ef2
@ -3,7 +3,8 @@ package adverr
|
|||||||
// DisableTrace decides if any call stack traces will be gathered when creating Errors
|
// DisableTrace 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 true
|
// If your application is doing performance-heavy tasks with lots of Error creations, you may consider setting this to true
|
||||||
// If set to true, all CallTraces in Error will be nil
|
// If set to true, all CallTraces in Error will be nil
|
||||||
var DisableTrace bool = true
|
var DisableTrace bool = false
|
||||||
|
|
||||||
// CallStackLength decides how many calls from the call stack should be gathered at most
|
// CallStackLength decides how many calls from the call stack should be gathered at most
|
||||||
|
// Changing this value has no effect if DisableTrace is true
|
||||||
var CallStackLength int = 100
|
var CallStackLength int = 100
|
||||||
|
Loading…
Reference in New Issue
Block a user