Formatter() (gb.logging)

Static Function Formatter ( sMessage As String, sFormat As String, iLevel As Integer ) As String

Explicitly calls the gb.logging as a function.

Examples

 Print Formatter("I am a test", "[$(now)] $(message)", logger.Debug)

would produce
[10/22/2013 17:48:30.458] I am a test

on stdout.

This function is intended for debugging purposes. Full Logger functionality is obtained by using a Logger object as a function