-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
If there a reason properties like directoryURL and currentURL are private on LXRotatingFileEndpoint? It would be really useful to have read-only access to URLs for manipulating log files (e.g. uploading them to a server, deleting old logs, etc).
At the moment, I have to use
let directory = NSFileManager.defaultManager().URLsForDirectory(.ApplicationSupportDirectory, inDomains: .UserDomainMask).first!.URLByAppendingPathComponent(NSBundle.mainBundle().bundleIdentifier!, isDirectory: true).URLByAppendingPathComponent("logs", isDirectory: true)which is terribly verbose and seems really fragile (if say LogKit changes the default file directory in a future version).
Metadata
Metadata
Assignees
Labels
No labels