fix property name $logger in class Stream