Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (34 sloc) 1.169 kb
bcbd956 @nto Initial commit.
nto authored
1 #import <Foundation/Foundation.h>
2 #import <asl.h>
3
4 #import "DDLog.h"
5
6 /**
7 * Welcome to Cocoa Lumberjack!
8 *
9 * The Google Code page has a wealth of documentation if you have any questions.
10 * http://code.google.com/p/cocoalumberjack/
11 *
12 * If you're new to the project you may wish to read the "Getting Started" page.
13 * http://code.google.com/p/cocoalumberjack/wiki/GettingStarted
14 *
15 *
16 * This class provides a logger for the Apple System Log facility.
17 *
18 * As described in the "Getting Started" page,
19 * the traditional NSLog() function directs it's output to two places:
20 *
21 * - Apple System Log
22 * - StdErr (if stderr is a TTY) so log statements show up in Xcode console
23 *
24 * To duplicate NSLog() functionality you can simply add this logger and a tty logger.
25 * However, if you instead choose to use file logging (for faster performance),
26 * you may choose to use a file logger and a tty logger.
27 **/
28
29 @interface DDASLLogger : DDAbstractLogger <DDLogger>
30 {
31 aslclient client;
32 }
33
34 + (DDASLLogger *)sharedInstance;
35
36 // Inherited from DDAbstractLogger
37
38 // - (id <DDLogFormatter>)logFormatter;
39 // - (void)setLogFormatter:(id <DDLogFormatter>)formatter;
40
41 @end
Something went wrong with that request. Please try again.