Emit "log" events when logging, and some cleanup
Emit "log" events when logging, and some cleanup

rsp/npm,chadnickbok/npm,haggholm/npm,princeofdarkness76/npm,DaveEmmerson/npm,misterbyrne/npm,xalopp/npm,kimshinelove/naver-npm,kriskowal/npm,TimeToogo/npm,segrey/npm,kriskowal/npm,cchamberlain/npm,kimshinelove/naver-npm,ekmartin/npm,DIREKTSPEED-LTD/npm,yyx990803/npm,evanlucas/npm,segmentio/npm,segment-boneyard/npm,yyx990803/npm,TimeToogo/npm,segmentio/npm,Volune/npm,evanlucas/npm,Volune/npm,princeofdarkness76/npm,yibn2008/npm,rsp/npm,evocateur/npm,lxe/npm,princeofdarkness76/npm,yodeyer/npm,kemitchell/npm,segrey/npm,evocateur/npm,TimeToogo/npm,ekmartin/npm,haggholm/npm,misterbyrne/npm,cchamberlain/npm-msys2,misterbyrne/npm,lxe/npm,chadnickbok/npm,midniteio/npm,DIREKTSPEED-LTD/npm,thomblake/npm,ekmartin/npm,cchamberlain/npm,evocateur/npm,segrey/npm,yibn2008/npm,Volune/npm,haggholm/npm,kemitchell/npm,kemitchell/npm,cchamberlain/npm-msys2,thomblake/npm,segmentio/npm,kimshinelove/naver-npm,DaveEmmerson/npm,thomblake/npm,DaveEmmerson/npm,chadnickbok/npm,rsp/npm,yodeyer/npm,DIREKTSPEED-LTD/npm,xalopp/npm,xalopp/npm,yodeyer/npm,cchamberlain/npm-msys2,yibn2008/npm,lxe/npm,segment-boneyard/npm,cchamberlain/npm,yyx990803/npm,midniteio/npm,evanlucas/npm,midniteio/npm,kriskowal/npm,segment-boneyard/npm