src/snac/server/database/SQL.php
/**
     * Enable logging
     *
     * For various reasons, logging is not enabled by default. Call this to enabled it for objects of this class.
     *
     * 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
For various reasons, logging is not enabled by default. Call this to enabled it for objects of this class.

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 For various reasons logging is not enabled by default . Call this to enabled it for objects of this class . 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 .
public function enableLogging()
    {
        global $log;
        if (! $this->logger)
        {
            $this->logger = new \Monolog\Logger('SQL');
            $this->logger->pushHandler($log);
        }
    }
public function enableLogging ( ) { global $ log ; if ( ! $ this -> logger ) { $ this -> logger = new \ Monolog \ Logger ( 'SQL' ) ; $ this -> logger -> pushHandler ( $ log ) ; } }
Enable logging
 For various reasons, logging is not enabled by default.
Enable logging For various reasons logging is not enabled by default .
// create a log channel