LogDebug returns whether the component should log debug messages.
()
| 260 | |
| 261 | // LogDebug returns whether the component should log debug messages. |
| 262 | func (c *Component) LogDebug() bool { |
| 263 | return c.config.Log.Level == log.DebugLevel |
| 264 | } |
| 265 | |
| 266 | // Context returns the context of the component. |
| 267 | func (c *Component) Context() context.Context { |
no outgoing calls
no test coverage detected