New library for Scheduling Time Based Tasks

It does not seem to be working for me.
this is the code bits....

AlarmId loggit = Alarm.timerRepeat(TMR_LOGGER, logTime); // log scheduler alarm

void fullLog() { // Stop logging when full
addr = 0; // reset address pointer
Alarm.disable(loggit); // shut off logTime alarm
}

I get;
in function 'void fullLog()'
error: 'loggit' was not declared in this scope

what am I doing wrong?