How to write system logs in custom functions.

How to write system logs in custom functions.

hi , 

      How to write system logs in custom functions for ManageEngine ServiceDesk Plus Cloud? Can email notification alerts be written in custom functions?

                New to ADSelfService Plus?