refactor LogLine & dynamic set log element value