pub async fn acquire_or_log(mode: DBType) -> Option<PoolConnection<Sqlite>>
グローバルデータベース接続を取得します。エラーが発生した場合はログに出力します。