Skip to content

Instantly share code, notes, and snippets.

@sauvikdolui
Created June 8, 2018 20:09
Show Gist options
  • Save sauvikdolui/051e6152668b656be75d75526fbecbf7 to your computer and use it in GitHub Desktop.
Save sauvikdolui/051e6152668b656be75d75526fbecbf7 to your computer and use it in GitHub Desktop.
// Basic Usages
Log.d("This is a DEBUG message") // DEBUG log
Log.e("This is an ERROR message") // ERROR log
Log.i("This is a INFO message") // INFO log
Log.v("This is a VERBOSE message") // VERBOSE log
Log.w("This is a WARNING message") // WARNING log
Log.s("This is a SEVERE message") // SEVERE Error log
// Log on Xcode Console
2018-06-09 01:03:37694 [💬][AppDelegate.swift]:20 15 application(_:didFinishLaunchingWithOptions:) -> This is a DEBUG message
2018-06-09 01:03:37722 [‼️][AppDelegate.swift]:21 15 application(_:didFinishLaunchingWithOptions:) -> This is an ERROR message
2018-06-09 01:03:37723 [ℹ️][AppDelegate.swift]:22 15 application(_:didFinishLaunchingWithOptions:) -> This is a INFO message
2018-06-09 01:03:37724 [🔬][AppDelegate.swift]:23 15 application(_:didFinishLaunchingWithOptions:) -> This is a VERBOSE message
2018-06-09 01:03:37724 [⚠️][AppDelegate.swift]:24 15 application(_:didFinishLaunchingWithOptions:) -> This is a WARNING message
2018-06-09 01:03:37725 [🔥][AppDelegate.swift]:25 15 application(_:didFinishLaunchingWithOptions:) -> This is a SEVERE message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment