log library
- log class first define
- log class implement