Skip to content

Commit

Permalink
😂Use It !!! Please !!!
Browse files Browse the repository at this point in the history
  • Loading branch information
iStarEternal authored and iStarEternal committed Apr 29, 2016
1 parent 650d44d commit 6e80f6e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ __LINE__,\
```
And then you can log within a Objective-C method like so:

```Objective-C Log
```Objective-C
LogInfo("StarConsoleLink");
```
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
F8F23F021CD0EFE0002623E4 /* StarConsoleLinkExample */ = {
isa = PBXGroup;
children = (
F85C54F31CD369710049775F /* Logger.h */,
F8D69B691CD1E7B000F8EB06 /* Logger.swift */,
F85C54F31CD369710049775F /* Logger.h */,
F8D69B681CD1E7B000F8EB06 /* NSLog-Logger.h */,
F8F23F031CD0EFE0002623E4 /* main.swift */,
F8F23F0C1CD0EFE7002623E4 /* OCLogger.h */,
Expand Down
Binary file not shown.
28 changes: 14 additions & 14 deletions StarConsoleLinkExample/StarConsoleLinkExample/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@
import Foundation


//Logger.info("当前在Swift中测试打印")
//Logger.info("测试打印不存在的文件链接:[viewController-abc.swift:25] ")
//Logger.info("测试打印URL链接:[192.168.8.250:8080]")
//Logger.info("测试打印不带方括号的链接:ViewController.swift:19")
//Logger.info("测试打印行号超出的链接:[ViewController.swift:100]")
//
//Logger.warning("------------------ Swift Logger Test ------------------")
//Logger.info("测试颜色打印")
//Logger.debug("测试颜色打印")
//Logger.warning("测试颜色打印")
//Logger.error("测试颜色打印")
//Logger.important("测试颜色打印")
//Logger.success("测试颜色打印")
//Logger.failure("测试颜色打印")
Logger.info("当前在Swift中测试打印")
Logger.info("测试打印不存在的文件链接:[viewController-abc.swift:25] ")
Logger.info("测试打印URL链接:[192.168.8.250:8080]")
Logger.info("测试打印不带方括号的链接:ViewController.swift:19")
Logger.info("测试打印行号超出的链接:[ViewController.swift:100]")

Logger.warning("------------------ Swift Logger Test ------------------")
Logger.info("测试颜色打印")
Logger.debug("测试颜色打印")
Logger.warning("测试颜色打印")
Logger.error("测试颜色打印")
Logger.important("测试颜色打印")
Logger.success("测试颜色打印")
Logger.failure("测试颜色打印")


OCLogger().runLog()

0 comments on commit 6e80f6e

Please sign in to comment.