updated log widget method, uses addXXX instead of XXX (XXX is error level)