basic logging
return a value