AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

Information for custom logging “class”
 
 

Hi,

I am currently writing my own logging “class” / topic file.

Lets assume I have an outputmacro

^outputmacro: ^log(^message

Is there any way to get the filename and linenumber of the of the statement calling my log outputmacro?

If not, is there a way to get the name of the outputmacro calling my logmacro?

Thanks,
Tobi

 

 
  [ # 1 ]

filename and line number of the statement calling, No.
New function in next release due shortly, ^callstack, will allow you to see who called you.

 

 
  login or register to react