20 lignes
556 B
PHP
20 lignes
556 B
PHP
<?php
|
|
|
|
/**
|
|
* @author Tobias Matthaiou <developer@tobimat.eu>
|
|
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
|
*/
|
|
|
|
function D3StartSQLLog($message = null) {
|
|
/** @var \D3\OxidSqlLogger\OxidEsalesDatabase $database */
|
|
$database = oxNew(\D3\OxidSqlLogger\OxidEsalesDatabase::class);
|
|
$database->d3EnableLogger($message);
|
|
}
|
|
|
|
function D3StopSQLLog()
|
|
{
|
|
/** @var \D3\OxidSqlLogger\OxidEsalesDatabase $database */
|
|
$database = oxNew(\D3\OxidSqlLogger\OxidEsalesDatabase::class);
|
|
$database->d3DisableLogger();
|
|
}
|