25
25
*/
26
26
27
27
@_silgen_name ( " playground_logger_initialize " )
28
- @available ( * , deprecated, message: " Use modern PlaygroundLogger initialization instead " )
29
28
public func legacyInitializePlaygroundLogger( ) -> Void {
30
29
Swift . _playgroundPrintHook = printHook
31
30
sendData = legacySendDataStub
@@ -36,7 +35,6 @@ fileprivate func legacySendDataStub(_: NSData) -> Void {
36
35
}
37
36
38
37
@_silgen_name ( " playground_log_hidden " )
39
- @available ( * , deprecated, message: " Use modern PlaygroundLogger log function instead " )
40
38
public func legacyLog< T> ( instance: T , name: String , id: Int , startLine: Int , endLine: Int , startColumn: Int , endColumn: Int ) -> AnyObject {
41
39
let packet = LogPacket ( describingResult: instance, named: name, startLine: startLine, endLine: endLine, startColumn: startColumn, endColumn: endColumn)
42
40
@@ -46,7 +44,6 @@ public func legacyLog<T>(instance: T, name: String, id: Int, startLine: Int, end
46
44
}
47
45
48
46
@_silgen_name ( " playground_log_scope_entry " )
49
- @available ( * , deprecated, message: " Use modern PlaygroundLogger log scope entry function instead " )
50
47
public func legacyLogScopeEntry( startLine: Int , endLine: Int , startColumn: Int , endColumn: Int ) -> AnyObject {
51
48
let packet = LogPacket ( scopeEntryWithStartLine: startLine, endLine: endLine, startColumn: startColumn, endColumn: endColumn)
52
49
@@ -56,7 +53,6 @@ public func legacyLogScopeEntry(startLine: Int, endLine: Int, startColumn: Int,
56
53
}
57
54
58
55
@_silgen_name ( " playground_log_scope_exit " )
59
- @available ( * , deprecated, message: " Use modern PlaygroundLogger log scope exit function instead " )
60
56
public func legacyLogScopeExit( startLine: Int , endLine: Int , startColumn: Int , endColumn: Int ) -> AnyObject {
61
57
let packet = LogPacket ( scopeExitWithStartLine: startLine, endLine: endLine, startColumn: startColumn, endColumn: endColumn)
62
58
@@ -66,7 +62,6 @@ public func legacyLogScopeExit(startLine: Int, endLine: Int, startColumn: Int, e
66
62
}
67
63
68
64
@_silgen_name ( " playground_log_postprint " )
69
- @available ( * , deprecated, message: " Use modern PlaygroundLogger postprint function instead " )
70
65
func legacyLogPostPrint( startLine: Int , endLine: Int , startColumn: Int , endColumn: Int ) -> AnyObject {
71
66
let printedString = Thread . current. threadDictionary [ printedStringThreadDictionaryKey] as! String ? ?? " "
72
67
0 commit comments