This PR improves and fixes i2p logs (joint work with vasild).
- It replaces
LogPrint
toLogPrintLevel
so we can log according to the severity. - Fix log when interruption happens during
Accept
. Before this PR, when an interruption happens, it just logs “Error accepting:”, no reason is logged as it does for other situations. This PR changes it to log “Accept interrupted”. - Log errors according to the severity. Stuff like creating SAM session, destroying SAM session, etc… are logged as ‘debug’.