code: func IsLogging(c context.Context, l Level) bool {
  	return l >= GetLevel(c)
  }
docs: // IsLogging tests whether the context is configured to log at the specified
  // level.
  //
  // Individual Logger implementations are supposed to call this function when
  // deciding whether to log the message.