DaveWoodCom / XCGLogger

A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can AutoRotatingFileDestination delete prefix log when reach max size?

MountainHill opened this issue · comments

Does XCGLogger support deleting ahead log when the file reaches setted MaxFileSize?
Now AutoRotatingFileDestination move log data to another file and delete all log when reaching MaxFileSize.
I wonde how I can fulfill this function, can you give me some tips?

@MountainHill Sorry, I'm not exactly sure what you're asking for here.

@DaveWoodCom thanks. Please close this question.