src/snac/server/database/DBUtil.php
/**
     * Enable logging
     *
     * Call this to enabled loggin for objects of this class. For various reasons, logging is not enabled by default.
     *
     * Check that we don't have a logger before creating a new one. This can be called as often as one wants
     * with no problems.
     */
Enable logging
Call this to enabled loggin for objects of this class. For various reasons, logging is not enabled by default.

Check that we don't have a logger before creating a new one. This can be called as often as one wants
with no problems.
Enable logging Call this to enabled loggin for objects of this class . For various reasons logging is not enabled by default . Check that we don ' t have a logger before creating a new one . This can be called as often as one wants with no problems .
private function enableLogging()
    {
        global $log;
        if (! $this->logger)
        {
            $this->logger = new \Monolog\Logger('DBUtil');
            $this->logger->pushHandler($log);
        }
    }
private function enableLogging ( ) { global $ log ; if ( ! $ this -> logger ) { $ this -> logger = new \ Monolog \ Logger ( 'DBUtil' ) ; $ this -> logger -> pushHandler ( $ log ) ; } }
Enable logging
 Call this to enabled loggin for objects of this class.
Enable logging Call this to enabled loggin for objects of this class .
// create a log channel