Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MaxLogSize defines the maximum log size we should permit: 5 MB // // The Zendesk limit for an attachement is 50MB and this is what will // be allowed via the API. However, if that fails for some reason, the // fallback is sending the report via email, which has a limit of 10mb // total or 7MB per file. Since we can produce up to 6 logs, and we // compress all the files (avarage compression - 80%), we need to have // a limit of 30MB total before compression, hence 5MB per log file. MaxLogSize = 5 * 1024 * 1024 // MaxLogs defines how many log files should be kept. MaxLogs = 3 )
Variables ¶
This section is empty.
Functions ¶
func DumpStackTrace ¶
func DumpStackTrace(logsPath string) crash.RecoveryAction
func MatchGUILogName ¶ added in v2.4.8
func MatchLogName ¶
func MatchStackTraceName ¶
Types ¶
type FileProvider ¶
type FileProvider func() (io.WriteCloser, error)
Click to show internal directories.
Click to hide internal directories.