optimize logger
renamed methods and properties