prettify LOG macro definition
refactoring Sample