SrcLoc = object procedure*: cstring file*: cstring line*: int
proc `$`(loc: ptr SrcLoc): string {....raises: [], tags: [].}
template getSrcLocation(procedure: static string = ""): ptr SrcLoc