Create logger.js

it's just a simple module to record log , It hasn't completed yet.