creation of Log class