Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (22 sloc) 0.854 kb
36775ab tomaz Added initial project files.
authored
1 //
2 // NSObject+Logging.h
f8a573c tomaz Updated project name to appledoc.
authored
3 // appledoc
36775ab tomaz Added initial project files.
authored
4 //
5 // Created by Tomaz Kragelj on 12.4.09.
6 // Copyright 2009 Tomaz Kragelj. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 @protocol LoggingProvider;
12
13 //////////////////////////////////////////////////////////////////////////////////////////
14 //////////////////////////////////////////////////////////////////////////////////////////
15 /** Defines logging support for NSObject.
16
2677c27 tomaz Removed all unicode characters inserted by the doxygen custom user scrip...
authored
17 This adds a @c logger method whic is used to get the object's logger. This allows
36775ab tomaz Added initial project files.
authored
18 simple logging implementation with various levels.
19 */
20 @interface NSObject (Logging)
21
2677c27 tomaz Removed all unicode characters inserted by the doxygen custom user scrip...
authored
22 /** Returns the @c LoggingProvider implementor associated with this object.
36775ab tomaz Added initial project files.
authored
23
24 This is used in @c log macros to get the object that will do the logging.
25
2677c27 tomaz Removed all unicode characters inserted by the doxygen custom user scrip...
authored
26 @return Returns the logger object associated with the receiver.
36775ab tomaz Added initial project files.
authored
27 */
28 - (id<LoggingProvider>) logger;
29
30 @end
Something went wrong with that request. Please try again.