Bogdan Poplauschi hace 7 años
padre
commit
e7414ae0f3

+ 1 - 1
Documentation/Architecture.md

@@ -20,7 +20,7 @@ When a log statement is executed, `DDLog` forwards the log message to every logg
 
 ### Loggers
 
-A logger is a class that does something with a log message. The lumberjack framework comes with several different loggers. (You can also [create your own](CustomLoggers.md).) Loggers such as `DDASLLogger` and `DDTTYLogger` can be used to duplicate the functionality of `NSLog`. And `DDFileLogger` can be used to write log messages to a log file.
+A logger is a class that does something with a log message. The lumberjack framework comes with several different loggers. (You can also [create your own](CustomLoggers.md).) Loggers such as `DDOSLogger` can be used to duplicate the functionality of `NSLog`. And `DDFileLogger` can be used to write log messages to a log file.
 
 You can have multiple simultaneous loggers. So you could, for example, log to the console and a file at the same time. You can add and remove loggers at any time.
 

+ 1 - 1
Documentation/CustomFormatters.md

@@ -92,7 +92,7 @@ MyCustomFormatter.m
 
 Now, just add the custom formatter to your logger:
 ```
-[DDTTYLogger sharedInstance].logFormatter = [[MyCustomFormatter alloc] init];
+[DDOSLogger sharedInstance].logFormatter = [[MyCustomFormatter alloc] init];
 ```
 # Thread-safety (simple)
 

+ 1 - 2
Documentation/GettingStarted.md

@@ -95,8 +95,7 @@ Consider this method if you want to more easily modify target build settings, ha
 A couple lines of code is all you need to get started:
 
 ```objective-c
-[DDLog addLogger:[DDASLLogger sharedInstance]];
-[DDLog addLogger:[DDTTYLogger sharedInstance]];
+[DDLog addLogger:[DDOSLogger sharedInstance]];
 ```
 
 This will add a pair of "loggers" to the logging framework. In other words, your log statements will be sent to the Console.app and the Xcode console (just like a normal NSLog).

+ 4 - 4
Documentation/PerLoggerLogLevels.md

@@ -4,14 +4,14 @@ If you need a different log level for every logger (i.e. if you have a custom lo
 
 #### Swift
 ```swift
-DDLog.add(DDASLLogger.sharedInstance, with: DDLogLevel.info)
-DDLog.add(DDTTYLogger.sharedInstance, with: DDLogLevel.debug)
+DDLog.add(DDOSLogger.sharedInstance, with: DDLogLevel.info)
+DDLog.add(DDFileLogger.sharedInstance, with: DDLogLevel.debug)
 ```
 
 #### Objective C
 ```objective-c
-[DDLog addLogger:[DDASLLogger sharedInstance] withLevel:DDLogLevelInfo];
-[DDLog addLogger:[DDTTYLogger sharedInstance] withLevel:DDLogLevelDebug];
+[DDLog addLogger:[DDOSLogger sharedInstance] withLevel:DDLogLevelInfo];
+[DDLog addLogger:[DDFileLogger sharedInstance] withLevel:DDLogLevelDebug];
 ```