I want to print the filename that is being used in my project.
But if I use __FILE__
, it prints entire path along with the file name which is long in my case and disturbs the log indents.
Can anyone please help how I can print just the file name using a common parameter across my project.