log class

created log class