A simple SwiftLog-compatible logger which logs in JSON, one entry per line.
Description
- Swift Tools 5.3.0
Description
{
"name": "json-logger",
"path": "/usr/src/package",
"targets": [
{
"name": "JSONLoggerTests",
"path": "Tests",
"type": "test",
"c99name": "JSONLoggerTests",
"sources": [
"JSONLoggerTests.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"JSONLogger"
]
},
{
"name": "JSONLogger",
"path": "Sources",
"type": "library",
"c99name": "JSONLogger",
"sources": [
"JSONLogger.swift",
"LogLine.swift",
"NSLock+Linux.swift",
"String+Utils.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"JSONLogger"
],
"product_dependencies": [
"GenericJSON",
"Logging",
"SystemPackage"
]
}
],
"products": [
{
"name": "JSONLogger",
"type": {
"library": [
"automatic"
]
},
"targets": [
"JSONLogger"
]
}
],
"platforms": [
{
"name": "macos",
"version": "11.0"
},
{
"name": "tvos",
"version": "14.0"
},
{
"name": "ios",
"version": "14.0"
},
{
"name": "watchos",
"version": "7.0"
}
],
"dependencies": [
{
"url": "https://github.com/apple/swift-log.git",
"type": "sourceControl",
"identity": "swift-log",
"requirement": {
"range": [
{
"lower_bound": "1.5.1",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/apple/swift-system.git",
"type": "sourceControl",
"identity": "swift-system",
"requirement": {
"range": [
{
"lower_bound": "1.0.0",
"upper_bound": "2.0.0"
}
]
}
},
{
"url": "https://github.com/Frizlab/generic-json.git",
"type": "sourceControl",
"identity": "generic-json",
"requirement": {
"range": [
{
"lower_bound": "3.0.0",
"upper_bound": "4.0.0"
}
]
}
}
],
"tools_version": "5.3",
"manifest_display_name": "json-logger"
}
Package Dump
{
"name": "json-logger",
"targets": [
{
"name": "JSONLogger",
"path": "Sources",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"product": [
"GenericJSON",
"generic-json",
null,
null
]
},
{
"product": [
"Logging",
"swift-log",
null,
null
]
},
{
"product": [
"SystemPackage",
"swift-system",
null,
null
]
}
],
"packageAccess": false
},
{
"name": "JSONLoggerTests",
"path": "Tests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"byName": [
"JSONLogger",
null
]
}
],
"packageAccess": false
}
],
"products": [
{
"name": "JSONLogger",
"type": {
"library": [
"automatic"
]
},
"targets": [
"JSONLogger"
]
}
],
"pkgConfig": null,
"platforms": [
{
"options": [],
"version": "11.0",
"platformName": "macos"
},
{
"options": [],
"version": "14.0",
"platformName": "tvos"
},
{
"options": [],
"version": "14.0",
"platformName": "ios"
},
{
"options": [],
"version": "7.0",
"platformName": "watchos"
}
],
"providers": null,
"packageKind": {
"root": [
"/usr/src/package"
]
},
"dependencies": [
{
"sourceControl": [
{
"identity": "swift-log",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-log.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.5.1",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"identity": "swift-system",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-system.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "1.0.0",
"upperBound": "2.0.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"identity": "generic-json",
"location": {
"remote": [
{
"urlString": "https://github.com/Frizlab/generic-json.git"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "3.0.0",
"upperBound": "4.0.0"
}
]
},
"productFilter": null
}
]
}
],
"toolsVersion": {
"_version": "5.3.0"
},
"cLanguageStandard": null,
"cxxLanguageStandard": null,
"swiftLanguageVersions": null
}
Dependencies
- swift-log1.5.3
- swift-system1.3.0
- GenericJSON3.0.0
Dependencies
{
"url": "/usr/src/package",
"name": "json-logger",
"path": "/usr/src/package",
"version": "unspecified",
"identity": "package",
"dependencies": [
{
"url": "https://github.com/apple/swift-log.git",
"name": "swift-log",
"path": "/usr/src/package/.build/checkouts/swift-log",
"version": "1.5.3",
"identity": "swift-log",
"dependencies": []
},
{
"url": "https://github.com/apple/swift-system.git",
"name": "swift-system",
"path": "/usr/src/package/.build/checkouts/swift-system",
"version": "1.3.0",
"identity": "swift-system",
"dependencies": []
},
{
"url": "https://github.com/Frizlab/generic-json.git",
"name": "GenericJSON",
"path": "/usr/src/package/.build/checkouts/generic-json",
"version": "3.0.0",
"identity": "generic-json",
"dependencies": []
}
]
}