Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- context Logging
- parameter logger:Logger
- parameter tag:string
- function DoOperation(param:i32)
- logger.log(tag, "Begin")
- DoSomething()
- logger.log(tag, "End")
- end
- end
- -- after context closes,
- -- DoOperation : (logger:Logger, tag:string, param:i32)->unit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement