(payload []byte)
| 76 | } |
| 77 | |
| 78 | func EnqueueError(payload []byte) { |
| 79 | if !Enabled() { |
| 80 | return |
| 81 | } |
| 82 | if len(payload) == 0 { |
| 83 | return |
| 84 | } |
| 85 | errorGlobal.publishToSubscribers(payload) |
| 86 | } |
| 87 | |
| 88 | func PopOldest(count int) [][]byte { |
| 89 | if !Enabled() { |