             catch let error as NSError {
                 openFile()
                 owner?._logln("Unable to rotate file \(writeToFileURL.path) to \(archiveToFileURL.path): \(error.localizedDescription)", level: .error)
+                closure?(false)
                 return false
             }
 
             owner?._logln("Rotated file \(writeToFileURL.path) to \(archiveToFileURL.path)", level: .info)
             openFile()
+            closure?(true)
             return true
         }
 
+        closure?(false)
         return false
     }
 

            archiveToFileURL = archiveToFile
        }
        else {
            return false
        }


    ///
    /// - Parameters:
    ///     - archiveToFile:    FileURL or path (as String) to where the existing log file should be rotated to.
    ///     - closure:          An optional closure to execute after the file has been rotated.
    ///
    /// - Returns:
    ///     - true:     Log file rotated successfully.
    ///     - false:    Error rotating the log file.
    ///
    @discardableResult open func rotateFile(to archiveToFile: Any, closure: ((_ success: Bool) -> Void)? = nil) -> Bool {
        var archiveToFileURL: URL? = nil

        if archiveToFile is NSString {
