I tried out your code. The only change that needs to be done is in how you define myint

myint goto _printlog

myint should start in the 1st column of your file.