0

With help of this CocoaLumberjack FileLogger logging to multiple files , I am able to create multiple log files (with same name in multiple directories),

But I need to use DDLog in one of my project where it is required to write multiple logs files in the same directory with different names.

Is there any way to attain this?

oguz ismail
  • 1
  • 16
  • 47
  • 69
Anoop Vaidya
  • 46,283
  • 15
  • 111
  • 140

1 Answers1

0

DDFileLogger uses logFileManager for managing logfiles. By default it uses DDLogFileManagerDefault. You can create your own file manager that confirms to DDLogFileManager protocol and provide whatever behavior you need.

The easiest way doing this is to copy DDLogFileManagerDefault and change it to feet your needs.

dvor
  • 86
  • 1
  • 4