Add warn log level, fix #14