Skip to content

Conversation

@i2h3
Copy link
Collaborator

@i2h3 i2h3 commented Sep 24, 2025

Closes #98.

It is not perfect yet and not every call consistently using the details argument but it is a start.

@i2h3 i2h3 self-assigned this Sep 24, 2025
@i2h3 i2h3 added the enhancement New feature or request label Sep 24, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR replaces the unified logging system with a custom logging solution specifically designed for file provider extensions. The custom solution provides structured JSON logging to files while maintaining compatibility with the unified logging system as a fallback.

  • Introduces a new custom logging system with structured JSON file output
  • Replaces all unified logging calls throughout the codebase with the new logging API
  • Adds mock logging implementations for testing

Reviewed Changes

Copilot reviewed 56 out of 56 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
Sources/NextcloudFileProviderKit/Log/ New custom logging implementation with protocol, logger, and file management
Sources/NextcloudFileProviderKitMocks/ Mock logging implementation for tests
Multiple test files Updated to import mocks and pass log parameter to constructors
Multiple source files Replaced unified logging calls with custom logging API calls
Package.swift Added NextcloudFileProviderKitMocks target

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Rello Rello moved this to 🏗️ In progress in 💻 Desktop Clients team Sep 24, 2025
Signed-off-by: Iva Horn <iva.horn@icloud.com>
@i2h3 i2h3 merged commit 8add813 into main Sep 24, 2025
2 checks passed
@i2h3 i2h3 deleted the 98-rich-logs branch September 24, 2025 09:24
@github-project-automation github-project-automation bot moved this from 🏗️ In progress to ☑️ Done in 💻 Desktop Clients team Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rich Logs

4 participants