<?php
    // Mage::log('fine dude', null, 'logfile.log');
    //create class
    // Gta_KolupadiRestrict
    class Gta_KolupadiRestrict_Model_Observer
    {   
        //create function
        public function cartevent(Varien_Event_Observer $observer)
        {
            $event = $observer->getEvent();
            Mage::log($event->getName(),null,'event.log');
        }       
    }
?>