Create function on-the-fly?

Yeah I know about erlog , I used it in the past. thanks