Modified SwiftLog Class and added 'app_log_dir' setting and log function to Swift Class.