Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
d108 committed Sep 22, 2016
1 parent 8911d3f commit ffc167c
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,42 @@ This eliminates the need to import the module into every source file. The public

## Usage Examples

dLogRed("ERROR: \(error)", date: "2016-Sep-13")
dLogGreen("Everything is fine.", date: "2016-Sep-13")
This code

class ViewController: UIViewController
{
override func viewDidLoad() {
super.viewDidLoad()

dLogGray("Hello", date: "2016-Sep-22")
dLogRed("World", date: "2016-Sep-22")
dLog("", date: "2016-Sep-22")

dLogOrange("A summer river being crossed", date: "2016-Sep-22")
dLogYellow("how pleasing", date: "2016-Sep-22")
dLogPurple("with sandals in my hands!", date: "2016-Sep-22")
dLog("", date: "2016-Sep-22")

dLogGreen("An old silent pond...", date: "2016-Sep-22")
dLogBlue("A frog jumps into the pond,", date: "2016-Sep-22")
dLogPurple("splash! Silence again.", date: "2016-Sep-22")
dLog("", date: "2016-Sep-22")
}
}

gives the following output in the console log.

ikiApps ❔ -[ViewController.swift:16] viewDidLoad() - Hello
ikiApps ‼️ -[ViewController.swift:17] viewDidLoad() - World
ikiApps ⬜️ -[ViewController.swift:18] viewDidLoad() -
ikiApps ✴️ -[ViewController.swift:20] viewDidLoad() - A summer river being crossed
ikiApps 💛 -[ViewController.swift:21] viewDidLoad() - how pleasing
ikiApps 💜 -[ViewController.swift:22] viewDidLoad() - with sandals in my hands!
ikiApps ⬜️ -[ViewController.swift:23] viewDidLoad() -
ikiApps ✅ -[ViewController.swift:25] viewDidLoad() - An old silent pond...
ikiApps 💙 -[ViewController.swift:26] viewDidLoad() - A frog jumps into the pond,
ikiApps 💜 -[ViewController.swift:27] viewDidLoad() - splash! Silence again.
ikiApps ⬜️ -[ViewController.swift:28] viewDidLoad() -

---

Expand Down

0 comments on commit ffc167c

Please sign in to comment.