Enabled returns true if the given logKey is enabled in keyMask. Always returns true if KeyAll is enabled in keyMask.
(logKey LogKey)
| 126 | // Enabled returns true if the given logKey is enabled in keyMask. |
| 127 | // Always returns true if KeyAll is enabled in keyMask. |
| 128 | func (keyMask *LogKeyMask) Enabled(logKey LogKey) bool { |
| 129 | return keyMask.enabled(logKey, true) |
| 130 | } |
| 131 | |
| 132 | // Enabled returns true if the given logKey is enabled in keyMask. |
| 133 | func (keyMask *LogKeyMask) EnabledExcludingWildcard(logKey LogKey) bool { |