diff --git a/README.md b/README.md index 635da5f..3630bfa 100644 --- a/README.md +++ b/README.md @@ -263,7 +263,7 @@ __LINE__,\ ``` And then you can log within a Objective-C method like so: -```Objective-C Log +```Objective-C LogInfo("StarConsoleLink"); ``` diff --git a/StarConsoleLink.xcodeproj/project.xcworkspace/xcuserdata/Star.xcuserdatad/UserInterfaceState.xcuserstate b/StarConsoleLink.xcodeproj/project.xcworkspace/xcuserdata/Star.xcuserdatad/UserInterfaceState.xcuserstate index 4de663a..07aff49 100644 Binary files a/StarConsoleLink.xcodeproj/project.xcworkspace/xcuserdata/Star.xcuserdatad/UserInterfaceState.xcuserstate and b/StarConsoleLink.xcodeproj/project.xcworkspace/xcuserdata/Star.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/StarConsoleLinkExample/StarConsoleLinkExample.xcodeproj/project.pbxproj b/StarConsoleLinkExample/StarConsoleLinkExample.xcodeproj/project.pbxproj index 3c8d663..00a5ff8 100644 --- a/StarConsoleLinkExample/StarConsoleLinkExample.xcodeproj/project.pbxproj +++ b/StarConsoleLinkExample/StarConsoleLinkExample.xcodeproj/project.pbxproj @@ -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 */, diff --git a/StarConsoleLinkExample/StarConsoleLinkExample.xcodeproj/project.xcworkspace/xcuserdata/Star.xcuserdatad/UserInterfaceState.xcuserstate b/StarConsoleLinkExample/StarConsoleLinkExample.xcodeproj/project.xcworkspace/xcuserdata/Star.xcuserdatad/UserInterfaceState.xcuserstate index 3f8aaac..e9cc890 100644 Binary files a/StarConsoleLinkExample/StarConsoleLinkExample.xcodeproj/project.xcworkspace/xcuserdata/Star.xcuserdatad/UserInterfaceState.xcuserstate and b/StarConsoleLinkExample/StarConsoleLinkExample.xcodeproj/project.xcworkspace/xcuserdata/Star.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/StarConsoleLinkExample/StarConsoleLinkExample/main.swift b/StarConsoleLinkExample/StarConsoleLinkExample/main.swift index ce72aba..3447d23 100644 --- a/StarConsoleLinkExample/StarConsoleLinkExample/main.swift +++ b/StarConsoleLinkExample/StarConsoleLinkExample/main.swift @@ -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() \ No newline at end of file