private static function printLog($strType = null) { $count = 4; echo "<h2>Receive notifications</h2>"; if ($strType) { echo "<h4>notifcationType: {$strType}</h4>"; } echo "<p>Last <strong>{$count}</strong> items in <strong>log file:</strong></p><hr>"; echo LogPagSeguro::getHtml($count); }