Green’s Dictionary of Slang

legger n.2

(Irish) a departure (on foot), an evasion; usu. as do a legger.

[Ire]R. Doyle Van (1998) 500: Yeh’d want to get out o’ the way there, he told her – You’ll be fuckin’ trampled on. The woman did a legger.
[Ire]G. Coughlan Everyday Eng. and Sl. 🌐 Legger, do a (phr): to abscond from the scene.
[US]T. Warner Beloved 157: I did a legger (ran away) real quick.
[Ire]L. McInerney Blood Miracles : ‘I dig up the sponds to do a legger’.