Esempio n. 1
0
 public static function server(Dog_Server $server, $message, $direction = ' << ')
 {
     echo $server->getTLD() . $direction . $message . PHP_EOL;
     if ($server->isLogging()) {
         $host = GWF_String::remove($server->getHost(), '/', '!');
         GWF_Log::rawLog("dog/{$host}/{$host}", $message);
         GWF_Log::flush();
     }
 }