Update logging.cc

fix cast style to cpp static_cast
Update logging.cc
remove cast, replace %llu with % PRIu64
Merge pull request #306 from Liuchang0812/fix_cast

Update logging.cc