Dpendencies update + improved dependencies version management (#721)

* updating dependencies

* minor version pinning

* update completed and also added a tool that checks for outdated swiftpm packages

* changelog

* DTCoreText uses exact version

* minor version for analytics

* pushing OutdatedPackages

* package.swift for the repo also using upToNextMinor

* fixing a typo

* Update Tools/Sources/OutdatedPackages.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* Update Tools/Sources/SetupProject.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* removing unused comment

* removed trailing comma

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
Mauro
2023-03-23 11:26:20 +01:00
committed by GitHub
parent e696280e69
commit ca319e0bfe
10 changed files with 74 additions and 49 deletions
+6 -6
View File
@@ -71,7 +71,7 @@ public class MXLog: NSObject {
function: String = #function,
line: Int = #line,
context: Any? = nil) {
logger.verbose(message(), file, function, line: line, context: context)
logger.verbose(message(), file: file, function: function, line: line, context: context)
}
public static func debug(_ message: @autoclosure () -> Any,
@@ -79,7 +79,7 @@ public class MXLog: NSObject {
function: String = #function,
line: Int = #line,
context: Any? = nil) {
logger.debug(message(), file, function, line: line, context: context)
logger.debug(message(), file: file, function: function, line: line, context: context)
}
public static func info(_ message: @autoclosure () -> Any,
@@ -87,7 +87,7 @@ public class MXLog: NSObject {
function: String = #function,
line: Int = #line,
context: Any? = nil) {
logger.info(message(), file, function, line: line, context: context)
logger.info(message(), file: file, function: function, line: line, context: context)
}
public static func warning(_ message: @autoclosure () -> Any,
@@ -95,7 +95,7 @@ public class MXLog: NSObject {
function: String = #function,
line: Int = #line,
context: Any? = nil) {
logger.warning(message(), file, function, line: line, context: context)
logger.warning(message(), file: file, function: function, line: line, context: context)
}
/// Log error with additional details
@@ -108,7 +108,7 @@ public class MXLog: NSObject {
function: String = #function,
line: Int = #line,
context: Any? = nil) {
logger.error(message(), file, function, line: line, context: context)
logger.error(message(), file: file, function: function, line: line, context: context)
}
/// Log failure with additional details
@@ -124,7 +124,7 @@ public class MXLog: NSObject {
function: String = #function,
line: Int = #line,
context: Any? = nil) {
logger.error(message, file, function, line: line, context: context)
logger.error(message, file: file, function: function, line: line, context: context)
#if DEBUG
assertionFailure("\(message)")
#endif