{"id":19403177,"url":"https://github.com/4rays/logging-client","last_synced_at":"2025-02-25T00:25:21.854Z","repository":{"id":256844289,"uuid":"856574770","full_name":"4rays/logging-client","owner":"4rays","description":"Handles logging into files in TCA apps","archived":false,"fork":false,"pushed_at":"2024-12-24T10:52:59.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-07T12:30:59.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/4rays.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-12T20:10:26.000Z","updated_at":"2024-12-24T10:52:49.000Z","dependencies_parsed_at":"2024-12-24T11:37:51.659Z","dependency_job_id":"5eb896fe-7d79-4ef7-a82c-dbe18d347032","html_url":"https://github.com/4rays/logging-client","commit_stats":null,"previous_names":["4rays/logging-client"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4rays%2Flogging-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4rays%2Flogging-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4rays%2Flogging-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4rays%2Flogging-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4rays","download_url":"https://codeload.github.com/4rays/logging-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240578119,"owners_count":19823571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T11:27:32.161Z","updated_at":"2025-02-25T00:25:21.835Z","avatar_url":"https://github.com/4rays.png","language":"Swift","readme":"# LoggingClient\n\nA dependency client that handles file logs in apps using the Swift Composable Architecture (TCA).\n\n## Usage\n\n- `logTrace` Logs trace-level messages, typically used for detailed debugging information.\n- `logVerbose` Logs verbose-level messages, providing more detailed information than debug logs.\n- `logDebug` Logs debug-level messages, useful for debugging during development.\n- `logInfo` Logs informational messages, typically used to report normal but significant events.\n- `logNotice` Logs notice-level messages, indicating normal but noteworthy conditions.\n- `logWarning` Logs warning-level messages, indicating potential issues or important situations that are not errors.\n- `logError` Logs error-level messages, indicating errors that might still allow the application to continue running.\n- `logCritical` Logs critical-level messages, indicating severe errors that will presumably lead the application to abort.\n\nTo get started, you need to configure the logger using the `LoggingConfigClient`.\nYou can achieve that in your app by implementing a `liveValue` from scratch, or using the\nprovided `defaultValue` that comes with this library.\n\n```swift\nextension LoggingConfigClient: DependencyValue {\n  static let liveValue = defaultValue\n}\n```\n\nThe default value uses a `LoggingClient` label, saves the log files in the caches\ndirectory, and caps the size of a logs file to 10mb.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4rays%2Flogging-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4rays%2Flogging-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4rays%2Flogging-client/lists"}