handle can choose panic error or ignore error
log level
enable set handler internal buffer size