Skip to content

Commit

Permalink
fix: Example
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeHosonuma committed Mar 22, 2020
1 parent d5553d3 commit e833df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/SwiftPrettyPrintExample/Source/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// -------------------------
// Configure format-options
// -------------------------
Debug.sharedOption = Debug.Option(prefix: "🍎", indent: 4)
Debug.sharedOption = Debug.Option(prefix: "🍎", indentSize: 4)

// --------
// Example
Expand All @@ -37,7 +37,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// name: "ポチ")
// ]

Debug.prettyPrint(["one": dog, "two": dog], option: Debug.Option(prefix: "🍊", indent: 2))
Debug.prettyPrint(["one": dog, "two": dog], option: Debug.Option(prefix: "🍊", indentSize: 2))
// =>
// 🍊
// [
Expand Down

0 comments on commit e833df9

Please sign in to comment.