Skip to content

planetary-social/logger-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logger


Logger is a simple logging utility to output messages with the following features:

  • Print messages to different levels such as info and error
  • Auto-rolling of log files

Usage

Import the Logger module and use any functions declared in the Log class. Just some examples:

import Logger

Log.optional(error)
Log.info("This is important, display it everytime")
Log.debug("Display this just when debugging")
Log.unexpected(.apiError)
Log.fatal(.missingValue)
Log.error("Something bad happened")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages