http://www.coppermine.jp/docs/promised/step3-set-logger-to-json.png