auto find log caller using stacktrace