Etymology
Today it means: In an amusing manner. Full definition →
From amusing + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.