is the method hideSlot or hideElement ? decide on the more apropriate one and change either method name, or the parameter in log() method