Changed logging to use local final class instead of LogIt class.