Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

nipunsharma/SGLogging

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
8 Commits
 
 
 
 
 
 

Repository files navigation

SGLogging

Simple wrapper macros around the ASL (Apple System Log).

Instalation

  • Add SGLogging.h and SGLogging.m to the project.
  • Import SGLogging.h to the -Prefix.pch file to make it avaliable in all classes.

Usage

SGLogEmergency(@"");	// The highest priority, usually reserved for catastrophic failures and reboot notices.
SGLogAlert(@"");		// A serious failure in a key system.
SGLogCritical(@"");		// A failure in a key system.
SGLogError(@"");		// Something has failed.
SGLogWarning(@"");		// Something is amiss and might fail if not corrected.
SGLogNotice(@"");		// Things of moderate interest to the user or administrator.
SGLogInfo(@"");			// The lowest priority that you would normally log, and purely informational in nature.
SGLogDebug(@"");		// The lowest priority, and normally not logged except for messages from the kernel.

About

Provides simple logging functions that use the Apple System Log.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.