NSLogger icon indicating copy to clipboard operation
NSLogger copied to clipboard

Desktop viewer UX: Exporting text should honor the current filter

Open keithwahn opened this issue 10 years ago • 1 comments
trafficstars

First of all, this is an awesome tool, I am loving it. It has already increased my productivity.

When exporting text, it seems intuitive that the export should honor the current filter. It seems to always export ALL the data. By only exporting the filtered text, it gives the user the option of exporting all the data or only some selective data.

I have found a WORKAROUND, but it's more involved, and I don't think it's very intuitive, I just happened to stumble upon it:

  1. Filter the logs
  2. Select all the logs in the viewer window
  3. Double click (or command+I) to open the details window
  4. Select all the text and copy to clipboard
  5. Paste to a new text file

keithwahn avatar Apr 24 '15 12:04 keithwahn

This is a good suggestion. I tend to use the workaround that you described, mostly because copy-pasting logs is the only thing I need most of the time (I tend to stay inside NSLogger for log analysis, exporting is not the frequent option).

If you want to have a crack at implementing it, you may look into -[LoggerDocument writeToURL:ofType:error:] where the text export is being performed.

fpillet avatar Apr 24 '15 15:04 fpillet