goje87 / G87

The G87 Framework
0 stars 0 forks source link

While logging show file name if the class and function name is not available. #15

Open goje87 opened 12 years ago

goje87 commented 12 years ago

Currently the Logger class is logging messages like [Class::function()](line 22) xxxxxxxx. But if logger is called from a simple script file (without class or object) then the output is [::()](line 22)xxxxxxx. Show the filename in this case.