티스토리 뷰
SimpleLog-Swift
[![CI Status](http://img.shields.io/travis/Woocheol Park/SimpleLog-Swift.svg?style=flat)](https://travis-ci.org/Woocheol Park/SimpleLog-Swift)
Installation
SimpleLog-Swift is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "SimpleLog-Swift"
Example
import SimpleLog_Swift
#if DEBUG
Logging.isRunning = true
#else
Logging.isRunning = false
#endif
// Print command line
// | 📘 DEBUG | FILE: ExampleViewController.swift, FUNCTION: exampleFunction, LINE: 30
// ---------------------------------------------------------
Logging.d()
// Print command line
// | 📘 DEBUG | FILE: ExampleViewController.swift, FUNCTION: exampleFunction, LINE: 30
// ---------------------------------------------------------
// Variable Type -> [String], Value -> [description]
// ---------------------------------------------------------
Logging.d(description)
// Print command line
// | 📘 DEBUG | FILE: ExampleViewController.swift, FUNCTION: exampleFunction, LINE: 30
// ---------------------------------------------------------
// | 🗄 Array | Info -> [...], Size -> [...]
// | 🔓 INDEX | 0
// ---------------------------------------------------------
// Example
// ---------------------------------------------------------
// Variable Name -> [id], Variable Type -> [Optional<Int>], Value -> [Optional(123)]
// ---------------------------------------------------------
// | 🔓 INDEX | 1
// ---------------------------------------------------------
// Example
// ---------------------------------------------------------
// Variable Name -> [id], Variable Type -> [Optional<Int>], Value -> [Optional(456)]
// ---------------------------------------------------------
Logging.d(Array<Example> as Array<Any>)
Logging.i()
...
Logging.w()
...
Logging.e()
...
import SimpleLog_Swift
#if DEBUG
Logging.isRunning = true
#else
Logging.isRunning = false
#endif
// Print command line
// | 📘 DEBUG | FILE: ExampleViewController.swift, FUNCTION: exampleFunction, LINE: 30
// ---------------------------------------------------------
Logging.d()
// Print command line
// | 📘 DEBUG | FILE: ExampleViewController.swift, FUNCTION: exampleFunction, LINE: 30
// ---------------------------------------------------------
// Variable Type -> [String], Value -> [description]
// ---------------------------------------------------------
Logging.d(description)
// Print command line
// | 📘 DEBUG | FILE: ExampleViewController.swift, FUNCTION: exampleFunction, LINE: 30
// ---------------------------------------------------------
// | 🗄 Array | Info -> [...], Size -> [...]
// | 🔓 INDEX | 0
// ---------------------------------------------------------
// Example
// ---------------------------------------------------------
// Variable Name -> [id], Variable Type -> [Optional<Int>], Value -> [Optional(123)]
// ---------------------------------------------------------
// | 🔓 INDEX | 1
// ---------------------------------------------------------
// Example
// ---------------------------------------------------------
// Variable Name -> [id], Variable Type -> [Optional<Int>], Value -> [Optional(456)]
// ---------------------------------------------------------
Logging.d(Array<Example> as Array<Any>)
Logging.i()
...
Logging.w()
...
Logging.e()
...
Author
Woocheol Park, admin@mrparkwc.com
License
SimpleLog-Swift is available under the MIT license. See the LICENSE file for more info.
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 소설담
- 티스토리 초대장
- 부산맛집
- 제주도여행
- 한우
- 부경대 맛집
- Android
- 부산
- 오뎅탕 맛집
- 페이스북 맛집
- Tistory 초대장
- Surface Precision Mouse
- 야키토리 맛집
- 레오폴드
- Java
- 야키토리 전문점
- 부산 맛집
- 노는바다
- 로그 라이브러리
- 안드로이드 라이브러리
- 오뎅나베 맛집
- 티스토리
- 맛집
- Tistory
- 인스타 맛집
- 남천동 맛집
- 페북 맛집
- 경성대 꽃집
- 초대장
- 제주도가볼만한곳
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함