Skip to content

Commit

Permalink
Merge branch 'release/3.0.1'
Browse files Browse the repository at this point in the history
defagos committed Dec 11, 2020
2 parents cfc39d1 + 37e19fb commit 9e5bf08
Showing 3 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ Stack trace or log information
> The simulator is a valid device as well. If all versions or devices seem to be affected, simply enter 'Any'
* Library version: _version_
* iOS version: _version_
* iOS / tvOS version: _version_
* Device: _model_

### Reproducibility
10 changes: 7 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
import PackageDescription

struct ProjectSettings {
static let marketingVersion: String = "3.0.0"
static let marketingVersion: String = "3.0.1"
}

let package = Package(
@@ -27,12 +27,16 @@ let package = Package(
.target(
name: "SRGLogger",
cSettings: [
.define("MARKETING_VERSION", to: "\"\(ProjectSettings.marketingVersion)\"")
.define("MARKETING_VERSION", to: "\"\(ProjectSettings.marketingVersion)\""),
.define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release))
]
),
.target(
name: "SRGLoggerSwift",
dependencies: ["SRGLogger"]
dependencies: ["SRGLogger"],
cSettings: [
.define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release))
]
),
.testTarget(
name: "SRGLoggerTests",
10 changes: 5 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -81,23 +81,23 @@ To avoid specifiying the subsystem in your application or library each time you
or in Swift:
```swift
func MyAppLogVerbose(category : String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
func MyAppLogVerbose(category: String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
SRGLogVerbose(subsystem: "com.myapp", category: category, message: message, file: file, function: function, line: line);
}
func MyAppLogDebug(category : String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
func MyAppLogDebug(category: String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
SRGLogDebug(subsystem: "com.myapp", category: category, message: message, file: file, function: function, line: line);
}
func MyAppLogInfo(category : String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
func MyAppLogInfo(category: String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
SRGLogInfo(subsystem: "com.myapp", category: category, message: message, file: file, function: function, line: line);
}
func MyAppLogWarning(category : String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
func MyAppLogWarning(category: String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
SRGLogWarning(subsystem: "com.myapp", category: category, message: message, file: file, function: function, line: line);
}
func MyAppLogError(category : String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
func MyAppLogError(category: String?, message: String, file: String = #file, function: String = #function, line: UInt = #line) {
SRGLogError(subsystem: "com.myapp", category: category, message: message, file: file, function: function, line: line);
}
```

0 comments on commit 9e5bf08

Please sign in to comment.