logger
logger copied to clipboard
angularDart filename
Is it possible to detect filename with JS or add filename to stacktrace manually?
I've always got this stack trace
So when I use StackTrace.current
, I've got better output.
Even though that the current filename is on #0 index, I can see it. So can I set this behavior by default for each log?
logger.d(
'Logger is ready',
null,
StackTrace.current,
);