Enable log file


If import glog to build.

The general configuration of the log in the head file logger.h .

Uncomment FLAGS_log_dir = \".\"; recompile and save to current work directory. Run camera_a log file as follows:


camera_a.INFO shows the program and levers of log it is running. The link to the real log file is camera_a.john-ubuntu.john.log.INFO.20180513-141832.519. Even if it ran several times, camera_a.INFO still leaves the link to last log file.

Excute make cleanlog to clean all log files.