Skip to content

Instantly share code, notes, and snippets.

@EngineerSmith
Created February 7, 2020 19:20
Show Gist options
  • Save EngineerSmith/593fa624fadb75758d0e5def61fd47be to your computer and use it in GitHub Desktop.
Save EngineerSmith/593fa624fadb75758d0e5def61fd47be to your computer and use it in GitHub Desktop.
appleCake.mark("event")
local function state.begin()
appleCake.mark("State entered begin", "t")
end
local function isValid(foo)
appleCake.mark("Validating", nil, foo) -- nil will be replaced with "p"
end
function love.keypressed(key)
appleCake.mark("Key pressed", "p", {key=key})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment