Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Colored level emojis in Xcode 8 & Swift 2.3
// set custom level strings to add color
let console = ConsoleDestination()
console.levelString.Verbose = "💜 VERBOSE"
console.levelString.Debug = "💚 DEBUG"
console.levelString.Info = "💙 INFO"
console.levelString.Warning = "💛 WARNING"
console.levelString.Error = "❤️ ERROR"

This comment has been minimized.

Copy link

t2ac32 commented Mar 21, 2017

Verbose, Debug, Info, Warning, Error. Shall be replace by:
verbose, debug, info, warning, error. (Xcode 8.2.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.