Advertisement
tinyevil

Untitled

May 9th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. context Logging
  2. parameter logger:Logger
  3. parameter tag:string
  4.  
  5. function DoOperation(param:i32)
  6. logger.log(tag, "Begin")
  7. DoSomething()
  8. logger.log(tag, "End")
  9. end
  10. end
  11.  
  12. -- after context closes,
  13. -- DoOperation : (logger:Logger, tag:string, param:i32)->unit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement