Add panic! specific logging function