Added logger to Var class