[FOLD] Remove class Log
[FOLD] Move function definitions to .cpp