Added safari custom log

safari does not have Error.stack api, make a fall back by just counting
the the track number