Cocoa Lumberjack: how to show file and line number?

后端 未结 3 1539
挽巷
挽巷 2021-02-06 07:18

I am trying to find a way for Cocoa Lumberjack to show me file and line number.

After looking through the docs and some Googling, I found no easy way to do this.

3条回答
  •  别那么骄傲
    2021-02-06 08:04

    As UrK suggested, there isn't any trivial way, but it's pretty simple if you define your own formatter (see doc)

提交回复
热议问题