added new macros for logging system, can now capture file name and line number where log was registered