Skip to content
/ SSLog Public

SSLog is available under the MIT license. See the LICENSE file for more info.

License

Notifications You must be signed in to change notification settings

dortus47/SSLog

Repository files navigation

header

Version

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

SSLog is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SSLog'

How to use

type

SSLog has a total of 5 types to make it easier to distinguish between logs.

  • error : "📕Error"
  • warning : "📙Warning"
  • action : "📗Action"
  • success : "📘Success"
  • cancelled : "📓Cancelled"

These types can be used to classify logs according to their intended use and search Xocode for easy and easy to find.

    SSLog.simple(.success, "this Log is SSLog.type success.\n")

method

SSLog provides three methods for easy and easy logging.

  • simple

    This is the simplest method for log output that represents only one of the five log types introduced above and the message to be outputted.

      SSLog.simple(.success, "this Log is SSLog.simple method.\n")
    
  • basic

    In addition to the log type and messages, the name, method name, line, and so on of the file to which the method was called is added.

      SSLog.basic(.action, "this Log is SSLog.basic method.\n")
    
  • detail

    detail has Date, fileUrl, fileName, function, line, A method that helps dsohandle output the most detailed log.

      SSLog.detail(.warning, "this Log is SSLog.detail method.\n")
    

Author

48409434, [email protected]

License

SSLog is available under the MIT license. See the LICENSE file for more info.

About

SSLog is available under the MIT license. See the LICENSE file for more info.

Resources

License

Stars

Watchers

Forks

Packages