add dbwriter.go
add log level Lall and Lnone