logging become platform independent