created log class