From ee958ef2080c7a9a562558e55d137cc769152de7 Mon Sep 17 00:00:00 2001 From: Peter Baumgartner Date: Mon, 23 Sep 2019 10:02:09 +0200 Subject: [PATCH] Code cleanup --- BXSwiftUtils/Logging/BXSignpostMixin.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BXSwiftUtils/Logging/BXSignpostMixin.swift b/BXSwiftUtils/Logging/BXSignpostMixin.swift index 6d3f676..e74918b 100644 --- a/BXSwiftUtils/Logging/BXSignpostMixin.swift +++ b/BXSwiftUtils/Logging/BXSignpostMixin.swift @@ -14,6 +14,7 @@ import os.signpost /// OSLog for signpost measuring + @available(OSX 10.12, *) let signpostlog:OSLog = { @@ -34,9 +35,6 @@ public protocol BXSignpostMixin : class extension BXSignpostMixin { - public static func createSignpostLog(withName name:String) - { - } /// Begins a signpost for measuring the execution time of a function /// - parameter name: The name of the calling class /// - parameter function: the name of the calling function @@ -68,6 +66,7 @@ extension BXSignpostMixin os_signpost(.end, log:signpostlog, name:name, signpostID:signpostID, "%@.end",function) } } + }