From 4369e08199f0cfaf102971a2ef0ff7ce052458d7 Mon Sep 17 00:00:00 2001 From: liulhdarks <313241942@qq.com> Date: Sat, 22 Mar 2014 23:57:57 +0800 Subject: [PATCH] Update readme.md --- README.md | 279 ++- .../appender/impl/FileDateSizeAppender.class | Bin 3874 -> 3874 bytes bin/darks/log/filter/LoggerFilter.class | Bin 814 -> 814 bytes bin/darks/log/loader/Loader.class | Bin 613 -> 613 bytes docs/allclasses-frame.html | 306 +-- docs/allclasses-noframe.html | 306 +-- docs/constant-values.html | 584 +++--- docs/darks/log/AndroidConfig.html | 515 ++--- docs/darks/log/Category.html | 1022 +++++----- docs/darks/log/DefaultLogger.html | 652 +++---- docs/darks/log/InvalidLogger.html | 648 +++---- docs/darks/log/Level.html | 1656 ++++++++--------- docs/darks/log/LogMessage.html | 1372 +++++++------- docs/darks/log/Logger.html | 1362 +++++++------- docs/darks/log/LoggerConfig.html | 838 ++++----- docs/darks/log/LoggerFactory.html | 460 ++--- docs/darks/log/LoggerHolder.html | 674 +++---- docs/darks/log/LoggerThread.html | 668 +++---- docs/darks/log/ThrowableInfo.html | 1060 +++++------ docs/darks/log/appender/Appender.html | 1052 +++++------ docs/darks/log/appender/AppenderManager.html | 568 +++--- .../log/appender/class-use/Appender.html | 718 +++---- .../appender/class-use/AppenderManager.html | 284 +-- .../log/appender/impl/AndroidAppender.html | 614 +++--- .../log/appender/impl/ConsoleAppender.html | 614 +++--- .../darks/log/appender/impl/FileAppender.html | 1192 ++++++------ .../appender/impl/FileDateSizeAppender.html | 926 ++++----- .../log/appender/impl/SocketAppender.html | 1156 ++++++------ .../log/appender/impl/SqliteAppender.html | 596 +++--- .../log/appender/impl/StreamAppender.html | 1390 +++++++------- .../impl/class-use/AndroidAppender.html | 284 +-- .../impl/class-use/ConsoleAppender.html | 284 +-- .../appender/impl/class-use/FileAppender.html | 356 ++-- .../impl/class-use/FileDateSizeAppender.html | 284 +-- .../impl/class-use/SocketAppender.html | 284 +-- .../impl/class-use/SqliteAppender.html | 284 +-- .../impl/class-use/StreamAppender.html | 388 ++-- .../log/appender/impl/package-frame.html | 88 +- .../log/appender/impl/package-summary.html | 358 ++-- .../darks/log/appender/impl/package-tree.html | 314 ++-- docs/darks/log/appender/impl/package-use.html | 348 ++-- .../log/appender/io/RecordOutputStream.html | 838 ++++----- .../io/class-use/RecordOutputStream.html | 284 +-- docs/darks/log/appender/io/package-frame.html | 64 +- .../log/appender/io/package-summary.html | 310 +-- docs/darks/log/appender/io/package-tree.html | 308 +-- docs/darks/log/appender/io/package-use.html | 284 +-- docs/darks/log/appender/package-frame.html | 68 +- docs/darks/log/appender/package-summary.html | 318 ++-- docs/darks/log/appender/package-tree.html | 302 +-- docs/darks/log/appender/package-use.html | 412 ++-- docs/darks/log/class-use/AndroidConfig.html | 356 ++-- docs/darks/log/class-use/Category.html | 558 +++--- docs/darks/log/class-use/DefaultLogger.html | 284 +-- docs/darks/log/class-use/InvalidLogger.html | 284 +-- docs/darks/log/class-use/Level.html | 750 ++++---- docs/darks/log/class-use/LogMessage.html | 1100 +++++------ docs/darks/log/class-use/Logger.html | 436 ++--- docs/darks/log/class-use/LoggerConfig.html | 356 ++-- docs/darks/log/class-use/LoggerFactory.html | 284 +-- docs/darks/log/class-use/LoggerHolder.html | 356 ++-- docs/darks/log/class-use/LoggerThread.html | 284 +-- docs/darks/log/class-use/ThrowableInfo.html | 388 ++-- .../darks/log/exceptions/ConfigException.html | 584 +++--- docs/darks/log/exceptions/LogException.html | 588 +++--- .../log/exceptions/PatternException.html | 584 +++--- .../exceptions/class-use/ConfigException.html | 284 +-- .../exceptions/class-use/LogException.html | 372 ++-- .../class-use/PatternException.html | 284 +-- docs/darks/log/exceptions/package-frame.html | 72 +- .../darks/log/exceptions/package-summary.html | 326 ++-- docs/darks/log/exceptions/package-tree.html | 320 ++-- docs/darks/log/exceptions/package-use.html | 336 ++-- docs/darks/log/externs/FilePicker.html | 536 +++--- .../log/externs/class-use/FilePicker.html | 388 ++-- docs/darks/log/externs/package-frame.html | 64 +- docs/darks/log/externs/package-summary.html | 310 +-- docs/darks/log/externs/package-tree.html | 302 +-- docs/darks/log/externs/package-use.html | 336 ++-- docs/darks/log/filter/LevelRangeFilter.html | 740 ++++---- docs/darks/log/filter/LoggerFilter.html | 773 ++++---- .../filter/class-use/LevelRangeFilter.html | 284 +-- .../log/filter/class-use/LoggerFilter.html | 446 ++--- docs/darks/log/filter/package-frame.html | 68 +- docs/darks/log/filter/package-summary.html | 318 ++-- docs/darks/log/filter/package-tree.html | 306 +-- docs/darks/log/filter/package-use.html | 374 ++-- .../darks/log/kernel/AndroidKernelLogger.html | 856 ++++----- .../darks/log/kernel/ConsoleKernelLogger.html | 856 ++++----- docs/darks/log/kernel/Kernel.html | 736 ++++---- docs/darks/log/kernel/KernelLogger.html | 716 +++---- .../kernel/class-use/AndroidKernelLogger.html | 284 +-- .../kernel/class-use/ConsoleKernelLogger.html | 284 +-- docs/darks/log/kernel/class-use/Kernel.html | 284 +-- .../log/kernel/class-use/KernelLogger.html | 372 ++-- docs/darks/log/kernel/package-frame.html | 94 +- docs/darks/log/kernel/package-summary.html | 354 ++-- docs/darks/log/kernel/package-tree.html | 316 ++-- docs/darks/log/kernel/package-use.html | 336 ++-- docs/darks/log/layout/LoggerLayout.html | 684 +++---- docs/darks/log/layout/PatternLayout.html | 552 +++--- docs/darks/log/layout/SimpleLayout.html | 552 +++--- .../log/layout/class-use/LoggerLayout.html | 610 +++--- .../log/layout/class-use/PatternLayout.html | 284 +-- .../log/layout/class-use/SimpleLayout.html | 284 +-- docs/darks/log/layout/package-frame.html | 72 +- docs/darks/log/layout/package-summary.html | 326 ++-- docs/darks/log/layout/package-tree.html | 306 +-- docs/darks/log/layout/package-use.html | 412 ++-- docs/darks/log/loader/ClassFinder.html | 512 ++--- docs/darks/log/loader/ConfigLoader.html | 736 ++++---- docs/darks/log/loader/Loader.html | 570 +++--- docs/darks/log/loader/PropertiesLoader.html | 543 +++--- .../log/loader/class-use/ClassFinder.html | 284 +-- .../log/loader/class-use/ConfigLoader.html | 284 +-- docs/darks/log/loader/class-use/Loader.html | 401 ++-- .../loader/class-use/PropertiesLoader.html | 284 +-- docs/darks/log/loader/package-frame.html | 76 +- docs/darks/log/loader/package-summary.html | 334 ++-- docs/darks/log/loader/package-tree.html | 306 +-- docs/darks/log/loader/package-use.html | 355 ++-- docs/darks/log/package-frame.html | 108 +- docs/darks/log/package-summary.html | 398 ++-- docs/darks/log/package-tree.html | 318 ++-- docs/darks/log/package-use.html | 660 +++---- docs/darks/log/pattern/ConvertPattern.html | 482 ++--- docs/darks/log/pattern/DefaultPattern.html | 658 +++---- .../log/pattern/class-use/ConvertPattern.html | 446 ++--- .../log/pattern/class-use/DefaultPattern.html | 284 +-- docs/darks/log/pattern/package-frame.html | 86 +- docs/darks/log/pattern/package-summary.html | 338 ++-- docs/darks/log/pattern/package-tree.html | 314 ++-- docs/darks/log/pattern/package-use.html | 374 ++-- .../pattern/parser/DatePatternConvertor.html | 556 +++--- .../parser/DuringTimePatternConvertor.html | 556 +++--- .../parser/EventDetailPatternConvertor.html | 556 +++--- .../parser/FilenamePatternConvertor.html | 556 +++--- .../parser/LogLevelPatternConvertor.html | 556 +++--- .../parser/MessagePatternConvertor.html | 556 +++--- .../log/pattern/parser/PatternConvertor.html | 688 +++---- .../log/pattern/parser/PatternParser.html | 674 +++---- .../parser/SourcePatternConvertor.html | 556 +++--- .../parser/StringPatternConvertor.html | 604 +++--- .../pattern/parser/TagPatternConvertor.html | 556 +++--- .../parser/ThreadPatternConvertor.html | 556 +++--- .../class-use/DatePatternConvertor.html | 284 +-- .../class-use/DuringTimePatternConvertor.html | 284 +-- .../EventDetailPatternConvertor.html | 284 +-- .../class-use/FilenamePatternConvertor.html | 284 +-- .../class-use/LogLevelPatternConvertor.html | 284 +-- .../class-use/MessagePatternConvertor.html | 284 +-- .../parser/class-use/PatternConvertor.html | 580 +++--- .../parser/class-use/PatternParser.html | 284 +-- .../class-use/SourcePatternConvertor.html | 284 +-- .../class-use/StringPatternConvertor.html | 284 +-- .../parser/class-use/TagPatternConvertor.html | 284 +-- .../class-use/ThreadPatternConvertor.html | 284 +-- .../log/pattern/parser/package-frame.html | 108 +- .../log/pattern/parser/package-summary.html | 398 ++-- .../log/pattern/parser/package-tree.html | 306 +-- .../darks/log/pattern/parser/package-use.html | 336 ++-- docs/darks/log/utils/EnvUtils.html | 460 ++--- docs/darks/log/utils/IoUtils.html | 612 +++--- docs/darks/log/utils/ReflectUtils.html | 806 ++++---- docs/darks/log/utils/StorageUtils.html | 634 +++---- docs/darks/log/utils/StringUtils.html | 628 +++---- docs/darks/log/utils/TimeUtils.html | 520 +++--- docs/darks/log/utils/class-use/EnvUtils.html | 284 +-- docs/darks/log/utils/class-use/IoUtils.html | 284 +-- .../log/utils/class-use/ReflectUtils.html | 284 +-- .../log/utils/class-use/StorageUtils.html | 284 +-- .../log/utils/class-use/StringUtils.html | 284 +-- docs/darks/log/utils/class-use/TimeUtils.html | 284 +-- docs/darks/log/utils/package-frame.html | 84 +- docs/darks/log/utils/package-summary.html | 350 ++-- docs/darks/log/utils/package-tree.html | 302 +-- docs/darks/log/utils/package-use.html | 284 +-- .../log/utils/time/AndroidDateFormater.html | 534 +++--- docs/darks/log/utils/time/DateFormater.html | 532 +++--- .../log/utils/time/JavaDateFormater.html | 534 +++--- .../time/class-use/AndroidDateFormater.html | 284 +-- .../utils/time/class-use/DateFormater.html | 430 ++--- .../time/class-use/JavaDateFormater.html | 284 +-- docs/darks/log/utils/time/package-frame.html | 72 +- .../darks/log/utils/time/package-summary.html | 326 ++-- docs/darks/log/utils/time/package-tree.html | 306 +-- docs/darks/log/utils/time/package-use.html | 374 ++-- docs/help-doc.html | 434 ++--- docs/index-files/index-1.html | 418 ++--- docs/index-files/index-10.html | 286 +-- docs/index-files/index-11.html | 280 +-- docs/index-files/index-12.html | 520 +++--- docs/index-files/index-13.html | 286 +-- docs/index-files/index-14.html | 322 ++-- docs/index-files/index-15.html | 340 ++-- docs/index-files/index-16.html | 316 ++-- docs/index-files/index-17.html | 727 ++++---- docs/index-files/index-18.html | 370 ++-- docs/index-files/index-19.html | 304 +-- docs/index-files/index-2.html | 292 +-- docs/index-files/index-20.html | 352 ++-- docs/index-files/index-3.html | 418 ++--- docs/index-files/index-4.html | 394 ++-- docs/index-files/index-5.html | 358 ++-- docs/index-files/index-6.html | 478 ++--- docs/index-files/index-7.html | 733 ++++---- docs/index-files/index-8.html | 286 +-- docs/index-files/index-9.html | 424 ++--- docs/index.html | 78 +- docs/overview-frame.html | 136 +- docs/overview-summary.html | 412 ++-- docs/overview-tree.html | 388 ++-- docs/package-list | 28 +- docs/serialized-form.html | 872 ++++----- docs/stylesheet.css | 58 +- src/darks/log/Category.java | 340 ++-- src/darks/log/Level.java | 488 ++--- src/darks/log/Logger.java | 544 +++--- src/darks/log/LoggerHolder.java | 140 +- src/darks/log/appender/Appender.java | 456 ++--- .../log/appender/impl/AndroidAppender.java | 198 +- .../log/appender/impl/ConsoleAppender.java | 152 +- src/darks/log/appender/impl/FileAppender.java | 504 ++--- .../appender/impl/FileDateSizeAppender.java | 344 ++-- .../log/appender/impl/StreamAppender.java | 634 +++---- src/darks/log/filter/LoggerFilter.java | 177 +- src/darks/log/loader/Loader.java | 113 +- 227 files changed, 48910 insertions(+), 48496 deletions(-) diff --git a/README.md b/README.md index 5a41cee..7110719 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,281 @@ Darks Logs ========== -A log library like log4j for java, android, web project. +Darks logs is a log library like log4j for Java, Android and Web project. It can be configured and used like log4j,. At the same time it can be easy to used on android application. Darks logs can output log message to console, logcat, file, socket, sqlite and so on. Developers can even customize its output style. +Let's have a look how to use it. -Configuration +Configuration File ----------- -darks-logs \ No newline at end of file +Before we use darks-logs, we must create the configuration file named logd.properties. + +### Java configuration +If your project need to work on console, Web or desktop with Java, you should create the logd.properties in the root of src directory. + +### Android configuration +If your project need to work on android application, you should create it in assets directory. After ensure logd.properties file exists, we must set the android.app.Application object to Logger before used.
+Example:
+
+  public class CustomApplication extends Application
+  {
+      @Override
+      public void onCreate()
+      {
+          Logger.Android.setApplication(this);
+          super.onCreate();
+      }
+  }
+
+After logd.properties created, we can configure it for logger. + +Start Logger +----------- +After config logd.properties and set Application object(Only for Android environment), developers can use Logger now. You can get the Logger by called static method getLogger with class object or tag string. We recommend you define Logger as the static variable.
+Example: +
+  static Logger log = Logger.getLogger(TestLogger.class);
+  static Logger log = Logger.getLogger("darks.logs.test.TestLogger");
+  static Logger log = Logger.getLogger("TestLogger");
+
+After define Logger variable, you can call info, debug, warn, error and so on to output message for specify level. +Example: +
+  log.debug("This is the darks logs hello world.");
+  log.info("Info message will be output");
+  log.error("Happen a exception. Cause " + e.getMessage(), e);
+
+ +Modify Configuration +----------- + +### Config Root +In the logd.properties, we must configure the root logger first of all. Tags start with string "logd.root", and its value format is [LEVEL],[APPENDER 1],[APPENDER 2],...,[APPENDER N].
+Example:
+
+  logd.root=info,console,FILE
+
+ +### Config Appenders +Darks logs has realized some frequently used appenders. Such as ConsoleAppender, AndroidAppender, FileAppender and so on. If you have configure multiple appenders, it wiil output log message to each appender when every message comes. All of appenders inherit from Appender
+Example: +
+  logd.root=info,console
+  logd.appender.console=ConsoleAppender
+  logd.appender.console.layout=PatternLayout
+  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+
+ +

Appender


+Appender is the base class of all appenders. Appender can configure layout, filter and so on.
+ +
layout
+ Logger layout can format log message. You can use darks.log.PatternLayout, darks.log.SimpleLayout or custom layout. + + PatternLayout: Use pattern to format message. Such as +
%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+ + SimpleLayout: Output the simple message. +
level - message
+ Custom layout: +
+  public class CustomLayout extends LoggerLayout
+  {
+      public String format(LogMessage message)
+      {
+          ...
+      }
+  }
+
+ +
filter
+ Logger filter can filter log message such as LevelRangeFilter by level.
+ LevelRangeFilter: Output message which's level between minimum level and maximun level.
+ Example: +
+  logd.appender.console=ConsoleAppender
+  logd.appender.console.layout=PatternLayout
+  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+  logd.appender.console.filter=LevelRangeFilter
+  logd.appender.console.filter.levelMin=debug
+  logd.appender.console.filter.levelMax=info
+  logd.appender.console.filter.accept=false
+
+ Custom filter: +
+  public class CustomFilter extends LoggerFilter
+  {
+      public int decide(LogMessage msg)
+      {
+          ...
+          return ALLOW;
+      }
+  }
+
+ +
async
+ If true, log message will be output in logger thread. +
logd.appender.console.async=false
+ + +

ConsoleAppender

+ConsoleAppender is used to output message to command console.
+Example: +
+  logd.appender.console=ConsoleAppender
+  logd.appender.console.layout=PatternLayout
+  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+
+ +

AndroidAppender

+AndroidAppender is used to output message to android logcat.
+Example: +
+  logd.appender.ANDROID=AndroidAppender
+  logd.appender.ANDROID.layout=PatternLayout
+  logd.appender.ANDROID.layout.pattern=%m%n
+
+ +

StreamAppender

+StreamAppender will output log message to stream. You cannot use StreamAppender directly in logd.properties. You should create a sub class which extends StreamAppender.
+Example: +
+  public class CustomAppender extends StreamAppender
+  {
+      @Override
+      public void activateHandler()
+      {
+          ...
+      }
+  
+      @Override
+      protected void expandAppend(LogMessage msg, String log) throws Exception
+      {
+          ...
+      }
+  }
+
+ +

SocketAppender

+SocketAppender will send log message through TCP protocol. It extends StreamAppender.
+Example: +
+  logd.appender.SOCKET=SocketAppender
+  logd.appender.SOCKET.layout=PatternLayout
+  logd.appender.SOCKET.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+  logd.appender.SOCKET.serverHost=127.0.0.1
+  logd.appender.SOCKET.serverPort=8686
+  logd.appender.SOCKET.keepAlive=true
+  logd.appender.SOCKET.tcpNoDelay=true
+  logd.appender.SOCKET.wrapBytes=true #Wrap log message with head bytes.
+
+ +

FileAppender

+FileAppender will output message to file. It extends StreamAppender. If you want to create dynamical file name, you can use ${PROPERTY_VARIABLE} to get system property value such as ${user.dir}. If you want to include the date or time in file name, you can use ${D[DATE_PATTERN]} such as ${Dyyyy_MM_dd_HH_mm_ss}.
+Example: +
+  logd.appender.FILE=FileAppender
+  logd.appender.FILE.layout=PatternLayout
+  logd.appender.FILE.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+  logd.appender.FILE.fileName=${user.dir}/log_${Dyyyy_MM_dd_HH_mm_ss_SS}.txt
+  logd.appender.FILE.buffered=true
+
+ +

FileDateSizeAppender

+FileAppender can keep log files in custom days(default 7 days). If current log file's size is out of custom max size(Default 10MB), it will create the new one. It extends FileAppender.
+Example: +
+  logd.appender.FILE=FileDateSizeAppender
+  logd.appender.FILE.layout=PatternLayout
+  logd.appender.FILE.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+  logd.appender.FILE.fileName=${user.dir}/log_${Dyyyy_MM_dd_HH_mm_ss_SS}.txt
+  logd.appender.FILE.buffered=true
+  logd.appender.FILE.maxSize=10485760
+  logd.appender.FILE.keepDay=7
+
+ +

Custom Appender

+Developer can create custom appender by inherit Appender. If override needPattern return true, it will format log message before append.
+Example: +
+  public class CustomAppender extends Appender
+  {
+      @Override
+      public void append(LogMessage msg, String log) throws Exception
+      {
+   	      ...
+      }
+  
+      @Override
+      public boolean needPattern()
+      {
+          return true;
+      }
+  }
+
+ +### Config Pattern +Layout will use DefaultPattern to format message by default.
+

DefaultPattern

+
+  %n, %N: Output a return character.
+  %m, %M: Output the log message content.
+  %d, %D: Output date by format pattern. Such as "%d{yyyy-MM-dd HH:mm:ss}".
+  %c:     Output the namespace or tags. 
+          You can use {layer number} to output the namespace's layer specified. 
+          Such as %c{1}, If tag is "darks.log.DemoMain", it will be "DemoMain".
+  %C:     Output the class name.
+          You can use {layer number} to output the classname's layer specified. 
+          Such as %C{2}, If class name is "darks.log.DemoMain", it will be "log.DemoMain".
+  %f, %F: Output the source file name.
+  %L:     Output the source code line.
+  %l:     Output the event information include caller class, thread name, source file and source line.
+  %p, %P: Output the log level.
+  %r, %R: Output the cost time from startup.
+  %t, %T: Output the thread name.
+
+Example: +
+  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} [%f][%p] - %m%n
+  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{2} - %m%n
+
+ +### Namespace Category +Developer can use logd.logger.[NAMESPACE] to specify logger for each namespace.
+Example: +
+  logd.logger.darks.log.test=debug
+  logd.logger.darks.log.test.file=debug,FILE
+  logd.logger.darks.log=debug,console
+
+If you specify the sub category for namespace with one or more appenders, sub logger's appenders will be called before root appenders�� That is to say message will be output twice. If you want to avoid this case, you can use logd.additivity or logd.inherit which decide whether sub logger inherit root logger.
+Example: +
+#logd.additivity = false
+logd.inherit = false
+
+ +Comprehensive Example +----------- +
+  logd.root=debug,console,FILE
+  logd.additivity = false  
+
+  logd.appender.console=ConsoleAppender
+  logd.appender.console.layout=PatternLayout
+  logd.appender.console.layout.convertor=DefaultPattern
+  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} [%p] %c - %m%n
+  logd.appender.console.async=false
+  logd.appender.console.filter=LevelRangeFilter
+  logd.appender.console.filter.levelMin=debug
+  logd.appender.console.filter.levelMax=info
+  logd.appender.console.filter.accept=false
+
+  logd.appender.FILE=FileDateSizeAppender
+  logd.appender.FILE.layout=PatternLayout
+  logd.appender.FILE.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+  logd.appender.FILE.fileName=${user.dir}\logs\log_${Dyyyy_MM_dd_HH_mm_ss}.txt
+  logd.appender.FILE.buffered=true
+  logd.appender.FILE.maxSize=2000000
+
+  logd.logger.darks.log.test=info
+
+I wish you a pleasant to use darks-logs. If you have some good advice or bug report, please share with us. Thank you! diff --git a/bin/darks/log/appender/impl/FileDateSizeAppender.class b/bin/darks/log/appender/impl/FileDateSizeAppender.class index 01c094a59928ba6b3a9d94c377d4cc4080c646b0..78dfb9774aaa6fd0e6e60d782fb21a22aab26f76 100644 GIT binary patch delta 251 zcmYk0ze+-J7=|CAQ=Ox~112U!h*RX?&=5pqAX1=12I*9dg%R}6!J#43#YBwwf&`Z` zT59PYx`4JWqAO@<=pCCr-iMdxd&lW<`hC}TMJ8AyN`W{VR`<)UgeMXcnW1c%AZ1^E z-fjJ(715g8VNyM(UV^H%gKck5u6?hlm^@e~RN&3t(Aj>W5+)>43z2{u{k_Q{QVPvHL bdGAqcpR5sXMqZSY_8BgEuVQcZ8!r3-B68M2Nv-vI3X*x zzCh7X-arO6pgLZlI$?&O$xU1VtWiL-q9+^j2~U2-)uWrtz`>9LG$##cPCA1OLnea) zLk@!}LoR~_Lmp6P0fRF`A%j1V4rM5vyqNp2U@ZeXLmki^^$b!B4Gg*rjg!lHerUD< zO>Jl3V(4HHW$0oMW9VVfWawqEW9VlHVVKB}%`gdQN-sk-!_>($cxN!q1ln)QIuGdD c`IC$J+!z-F`J$80^J%cI0E(@g{D)5s0P+_!j{pDw diff --git a/bin/darks/log/filter/LoggerFilter.class b/bin/darks/log/filter/LoggerFilter.class index dfdbc1c3b6c284809e2e924d87ff1136d64481e0..2ed1fd043c28f46fe7326182e23725d43f5960c5 100644 GIT binary patch delta 59 zcmZ3-wvKHB8xyA~0}F#O11E#|WPT=JK}QC524^78l|hKXok4`bb8;?I1Y_9bV@$TJ N(G08%F_Sr%)c`A(3N-)# delta 59 zcmZ3-wvKHB8xyA%0}F!&11E#dWPT=JK{Ez+1`8n1ib06MhCzhEZgMVD1f%!lV@$TJ N0Sv4Rfs;9y)c_t23A_LR diff --git a/bin/darks/log/loader/Loader.class b/bin/darks/log/loader/Loader.class index dc8daa1c6b9caadfd0e04e943611c425cd5444b0..938f5b425fdcc08216ba1dff62d81731c2a7763c 100644 GIT binary patch delta 23 fcmaFL@|0!6A4W#~$$uGbSxp#N8B8bJGpPXpXSfFI delta 23 fcmaFL@|0!6A4W!l$$uGbSxp&O8O$czGpPXpXVnJo diff --git a/docs/allclasses-frame.html b/docs/allclasses-frame.html index d7737a8..7e2b3c3 100644 --- a/docs/allclasses-frame.html +++ b/docs/allclasses-frame.html @@ -1,153 +1,153 @@ - - - - - - -������ - - - - - - - - - - - -������ -
- - - - - -
AndroidAppender -
-AndroidConfig -
-AndroidDateFormater -
-AndroidKernelLogger -
-Appender -
-AppenderManager -
-Category -
-ClassFinder -
-ConfigException -
-ConfigLoader -
-ConsoleAppender -
-ConsoleKernelLogger -
-ConvertPattern -
-DateFormater -
-DatePatternConvertor -
-DefaultLogger -
-DefaultPattern -
-DuringTimePatternConvertor -
-EnvUtils -
-EventDetailPatternConvertor -
-FileAppender -
-FileDateSizeAppender -
-FilenamePatternConvertor -
-FilePicker -
-InvalidLogger -
-IoUtils -
-JavaDateFormater -
-Kernel -
-KernelLogger -
-Level -
-LevelRangeFilter -
-Loader -
-LogException -
-Logger -
-LoggerConfig -
-LoggerFactory -
-LoggerFilter -
-LoggerHolder -
-LoggerLayout -
-LoggerThread -
-LogLevelPatternConvertor -
-LogMessage -
-MessagePatternConvertor -
-PatternConvertor -
-PatternException -
-PatternLayout -
-PatternParser -
-PropertiesLoader -
-RecordOutputStream -
-ReflectUtils -
-SimpleLayout -
-SocketAppender -
-SourcePatternConvertor -
-SqliteAppender -
-StorageUtils -
-StreamAppender -
-StringPatternConvertor -
-StringUtils -
-TagPatternConvertor -
-ThreadPatternConvertor -
-ThrowableInfo -
-TimeUtils -
-
- - - + + + + + + +������ + + + + + + + + + + + +������ +
+ + + + + +
AndroidAppender +
+AndroidConfig +
+AndroidDateFormater +
+AndroidKernelLogger +
+Appender +
+AppenderManager +
+Category +
+ClassFinder +
+ConfigException +
+ConfigLoader +
+ConsoleAppender +
+ConsoleKernelLogger +
+ConvertPattern +
+DateFormater +
+DatePatternConvertor +
+DefaultLogger +
+DefaultPattern +
+DuringTimePatternConvertor +
+EnvUtils +
+EventDetailPatternConvertor +
+FileAppender +
+FileDateSizeAppender +
+FilenamePatternConvertor +
+FilePicker +
+InvalidLogger +
+IoUtils +
+JavaDateFormater +
+Kernel +
+KernelLogger +
+Level +
+LevelRangeFilter +
+Loader +
+LogException +
+Logger +
+LoggerConfig +
+LoggerFactory +
+LoggerFilter +
+LoggerHolder +
+LoggerLayout +
+LoggerThread +
+LogLevelPatternConvertor +
+LogMessage +
+MessagePatternConvertor +
+PatternConvertor +
+PatternException +
+PatternLayout +
+PatternParser +
+PropertiesLoader +
+RecordOutputStream +
+ReflectUtils +
+SimpleLayout +
+SocketAppender +
+SourcePatternConvertor +
+SqliteAppender +
+StorageUtils +
+StreamAppender +
+StringPatternConvertor +
+StringUtils +
+TagPatternConvertor +
+ThreadPatternConvertor +
+ThrowableInfo +
+TimeUtils +
+
+ + + diff --git a/docs/allclasses-noframe.html b/docs/allclasses-noframe.html index 7c8f0ba..59c6b38 100644 --- a/docs/allclasses-noframe.html +++ b/docs/allclasses-noframe.html @@ -1,153 +1,153 @@ - - - - - - -������ - - - - - - - - - - - -������ -
- - - - - -
AndroidAppender -
-AndroidConfig -
-AndroidDateFormater -
-AndroidKernelLogger -
-Appender -
-AppenderManager -
-Category -
-ClassFinder -
-ConfigException -
-ConfigLoader -
-ConsoleAppender -
-ConsoleKernelLogger -
-ConvertPattern -
-DateFormater -
-DatePatternConvertor -
-DefaultLogger -
-DefaultPattern -
-DuringTimePatternConvertor -
-EnvUtils -
-EventDetailPatternConvertor -
-FileAppender -
-FileDateSizeAppender -
-FilenamePatternConvertor -
-FilePicker -
-InvalidLogger -
-IoUtils -
-JavaDateFormater -
-Kernel -
-KernelLogger -
-Level -
-LevelRangeFilter -
-Loader -
-LogException -
-Logger -
-LoggerConfig -
-LoggerFactory -
-LoggerFilter -
-LoggerHolder -
-LoggerLayout -
-LoggerThread -
-LogLevelPatternConvertor -
-LogMessage -
-MessagePatternConvertor -
-PatternConvertor -
-PatternException -
-PatternLayout -
-PatternParser -
-PropertiesLoader -
-RecordOutputStream -
-ReflectUtils -
-SimpleLayout -
-SocketAppender -
-SourcePatternConvertor -
-SqliteAppender -
-StorageUtils -
-StreamAppender -
-StringPatternConvertor -
-StringUtils -
-TagPatternConvertor -
-ThreadPatternConvertor -
-ThrowableInfo -
-TimeUtils -
-
- - - + + + + + + +������ + + + + + + + + + + + +������ +
+ + + + + +
AndroidAppender +
+AndroidConfig +
+AndroidDateFormater +
+AndroidKernelLogger +
+Appender +
+AppenderManager +
+Category +
+ClassFinder +
+ConfigException +
+ConfigLoader +
+ConsoleAppender +
+ConsoleKernelLogger +
+ConvertPattern +
+DateFormater +
+DatePatternConvertor +
+DefaultLogger +
+DefaultPattern +
+DuringTimePatternConvertor +
+EnvUtils +
+EventDetailPatternConvertor +
+FileAppender +
+FileDateSizeAppender +
+FilenamePatternConvertor +
+FilePicker +
+InvalidLogger +
+IoUtils +
+JavaDateFormater +
+Kernel +
+KernelLogger +
+Level +
+LevelRangeFilter +
+Loader +
+LogException +
+Logger +
+LoggerConfig +
+LoggerFactory +
+LoggerFilter +
+LoggerHolder +
+LoggerLayout +
+LoggerThread +
+LogLevelPatternConvertor +
+LogMessage +
+MessagePatternConvertor +
+PatternConvertor +
+PatternException +
+PatternLayout +
+PatternParser +
+PropertiesLoader +
+RecordOutputStream +
+ReflectUtils +
+SimpleLayout +
+SocketAppender +
+SourcePatternConvertor +
+SqliteAppender +
+StorageUtils +
+StreamAppender +
+StringPatternConvertor +
+StringUtils +
+TagPatternConvertor +
+ThreadPatternConvertor +
+ThrowableInfo +
+TimeUtils +
+
+ + + diff --git a/docs/constant-values.html b/docs/constant-values.html index 6ee4aa9..9f732f2 100644 --- a/docs/constant-values.html +++ b/docs/constant-values.html @@ -1,292 +1,292 @@ - - - - - - -�����ֶ�ֵ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�����ֶ�ֵ

-
-
-Ŀ¼ - - - - - - -
-darks.log.*
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
darks.log.Level
-public static final java.lang.StringLEVEL_DEBUG"DEBUG"
-public static final java.lang.StringLEVEL_ERROR"ERROR"
-public static final java.lang.StringLEVEL_INFO"INFO"
-public static final java.lang.StringLEVEL_TRACE"TRACE"
-public static final java.lang.StringLEVEL_VERBOSE"VERBOSE"
-public static final java.lang.StringLEVEL_WARN"WARN"
- -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
darks.log.appender.impl.StreamAppender
-public static final java.lang.StringSTYPE_LOG_OBJECT"object"
-public static final java.lang.StringSTYPE_LOG_STRING"string"
-public static final intTYPE_LOG_OBJECT1
-public static final intTYPE_LOG_STRING0
- -

- -

- - - - - - - - - - - - - - - - - -
darks.log.filter.LoggerFilter
-public static final intALLOW1
-public static final intDENY-1
- -

- -

- - - - - - - - - - - - - - - - - - - - - - -
darks.log.loader.ConfigLoader
-public static final java.lang.StringCONFIG_EXT".properties"
-public static final java.lang.StringCONFIG_FILE"logd.properties"
-public static final java.lang.StringCONFIG_FILE_NAME"logd"
- -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�����ֶ�ֵ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�����ֶ�ֵ

+
+
+Ŀ¼ + + + + + + +
+darks.log.*
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
darks.log.Level
+public static final java.lang.StringLEVEL_DEBUG"DEBUG"
+public static final java.lang.StringLEVEL_ERROR"ERROR"
+public static final java.lang.StringLEVEL_INFO"INFO"
+public static final java.lang.StringLEVEL_TRACE"TRACE"
+public static final java.lang.StringLEVEL_VERBOSE"VERBOSE"
+public static final java.lang.StringLEVEL_WARN"WARN"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
darks.log.appender.impl.StreamAppender
+public static final java.lang.StringSTYPE_LOG_OBJECT"object"
+public static final java.lang.StringSTYPE_LOG_STRING"string"
+public static final intTYPE_LOG_OBJECT1
+public static final intTYPE_LOG_STRING0
+ +

+ +

+ + + + + + + + + + + + + + + + + +
darks.log.filter.LoggerFilter
+public static final intALLOW1
+public static final intDENY-1
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
darks.log.loader.ConfigLoader
+public static final java.lang.StringCONFIG_EXT".properties"
+public static final java.lang.StringCONFIG_FILE"logd.properties"
+public static final java.lang.StringCONFIG_FILE_NAME"logd"
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/AndroidConfig.html b/docs/darks/log/AndroidConfig.html index ec6f943..7e21b8d 100644 --- a/docs/darks/log/AndroidConfig.html +++ b/docs/darks/log/AndroidConfig.html @@ -1,249 +1,270 @@ - - - - - - -AndroidConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� AndroidConfig

-
-java.lang.Object
-  �̳��� darks.log.AndroidConfig
-
-
-
-
public final class AndroidConfig
extends java.lang.Object
- - -

+ + + + + + +AndroidConfig + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� AndroidConfig

+
+java.lang.Object
+  �̳��� darks.log.AndroidConfig
+
+
+
+
public final class AndroidConfig
extends java.lang.Object
+ + +

Configure android application required when logs find configuration file. - AndroidConfig.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua - 2014-3-20
-
-
- -

- - - - - - - - - - - - - - - - -
-����ժҪ
- android.app.ApplicationgetApplication() - -
-           
- voidsetApplication(android.app.Application application) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-������ϸ��Ϣ
- -

-getApplication

-
-public android.app.Application getApplication()
-
-
-
-
-
-
- -

-setApplication

-
-public void setApplication(android.app.Application application)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + AndroidConfig.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ android.app.ApplicationgetApplication() + +
+           
+ LoadergetLoader() + +
+          Get loader or android environment
+ voidsetApplication(android.app.Application application) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getApplication

+
+public android.app.Application getApplication()
+
+
+
+
+
+
+ +

+getLoader

+
+public Loader getLoader()
+
+
Get loader or android environment +

+

+ +
���أ�
If succeed to get loader, return loader object. Otherwise return null;.
+
+
+
+ +

+setApplication

+
+public void setApplication(android.app.Application application)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/Category.html b/docs/darks/log/Category.html index 3196423..c77d4e0 100644 --- a/docs/darks/log/Category.html +++ b/docs/darks/log/Category.html @@ -1,514 +1,514 @@ - - - - - - -Category - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� Category

-
-java.lang.Object
-  �̳��� darks.log.Category
-
-
-
-
public class Category
extends java.lang.Object
- - -

+ + + + + + +Category + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� Category

+
+java.lang.Object
+  �̳��� darks.log.Category
+
+
+
+
public class Category
extends java.lang.Object
+ + +

Record logger's category information.Include appenders, level, name and so on. - Category object wiil inherit root category attributes. + Category object will inherit root category attributes. - Category.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
+ Category.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
Liu lihua - 2014-3-21
-
-
- -

- - - - - - - - - - - - - - -
-���췽��ժҪ
Category() - -
-           
Category(Category parent) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- java.util.List<Appender>buildAppenderArray() - -
-          Build appenders list from appender tags array
- java.util.List<Appender>getAppenderList() - -
-           
- java.lang.String[]getAppenders() - -
-           
- LevelgetLevel() - -
-           
- java.lang.StringgetName() - -
-           
- CategorygetParent() - -
-           
- booleanisInherit() - -
-           
- voidsetAppenders(java.lang.String[] appenders) - -
-           
- voidsetInherit(boolean inherit) - -
-           
- voidsetLevel(Level level) - -
-           
- voidsetName(java.lang.String name) - -
-           
- voidsetParent(Category parent) - -
-           
- java.lang.StringtoString() - -
-          
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-Category

-
-public Category()
-
-
-
- -

-Category

-
-public Category(Category parent)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-buildAppenderArray

-
-public java.util.List<Appender> buildAppenderArray()
-
-
Build appenders list from appender tags array -

-

- -
���أ�
appenders list
-
-
-
- -

-getAppenderList

-
-public java.util.List<Appender> getAppenderList()
-
-
-
-
-
-
- -

-getAppenders

-
-public java.lang.String[] getAppenders()
-
-
-
-
-
-
- -

-getLevel

-
-public Level getLevel()
-
-
-
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
-
- -

-getParent

-
-public Category getParent()
-
-
-
-
-
-
- -

-isInherit

-
-public boolean isInherit()
-
-
-
-
-
-
- -

-setAppenders

-
-public void setAppenders(java.lang.String[] appenders)
-
-
-
-
-
-
- -

-setInherit

-
-public void setInherit(boolean inherit)
-
-
-
-
-
-
- -

-setLevel

-
-public void setLevel(Level level)
-
-
-
-
-
-
- -

-setName

-
-public void setName(java.lang.String name)
-
-
-
-
-
-
- -

-setParent

-
-public void setParent(Category parent)
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-

-

-
���ǣ�
�� java.lang.Object �е� toString
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + 2014-3-21 +
+
+ +

+ + + + + + + + + + + + + + +
+���췽��ժҪ
Category() + +
+           
Category(Category parent) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ java.util.List<Appender>buildAppenderArray() + +
+          Build appenders list from appender tags array
+ java.util.List<Appender>getAppenderList() + +
+           
+ java.lang.String[]getAppenders() + +
+           
+ LevelgetLevel() + +
+           
+ java.lang.StringgetName() + +
+           
+ CategorygetParent() + +
+           
+ booleanisInherit() + +
+           
+ voidsetAppenders(java.lang.String[] appenders) + +
+           
+ voidsetInherit(boolean inherit) + +
+           
+ voidsetLevel(Level level) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ voidsetParent(Category parent) + +
+           
+ java.lang.StringtoString() + +
+          
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+Category

+
+public Category()
+
+
+
+ +

+Category

+
+public Category(Category parent)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+buildAppenderArray

+
+public java.util.List<Appender> buildAppenderArray()
+
+
Build appenders list from appender tags array +

+

+ +
���أ�
appenders list
+
+
+
+ +

+getAppenderList

+
+public java.util.List<Appender> getAppenderList()
+
+
+
+
+
+
+ +

+getAppenders

+
+public java.lang.String[] getAppenders()
+
+
+
+
+
+
+ +

+getLevel

+
+public Level getLevel()
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+getParent

+
+public Category getParent()
+
+
+
+
+
+
+ +

+isInherit

+
+public boolean isInherit()
+
+
+
+
+
+
+ +

+setAppenders

+
+public void setAppenders(java.lang.String[] appenders)
+
+
+
+
+
+
+ +

+setInherit

+
+public void setInherit(boolean inherit)
+
+
+
+
+
+
+ +

+setLevel

+
+public void setLevel(Level level)
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+ +

+setParent

+
+public void setParent(Category parent)
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+

+

+
���ǣ�
�� java.lang.Object �е� toString
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/DefaultLogger.html b/docs/darks/log/DefaultLogger.html index 4f7e841..3714e01 100644 --- a/docs/darks/log/DefaultLogger.html +++ b/docs/darks/log/DefaultLogger.html @@ -1,328 +1,328 @@ - - - - - - -DefaultLogger - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� DefaultLogger

-
-java.lang.Object
-  �̳��� darks.log.Logger
-      �̳��� darks.log.DefaultLogger
-
-
-
-
public class DefaultLogger
extends Logger
- - -

+ + + + + + +DefaultLogger + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� DefaultLogger

+
+java.lang.Object
+  �̳��� darks.log.Logger
+      �̳��� darks.log.DefaultLogger
+
+
+
+
public class DefaultLogger
extends Logger
+ + +

Default logger object used to log message and do appenders by default - DefaultLogger.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua 2014-3-21
-
-
- -

- - - - - - - -
-�ֶ�ժҪ
- - - - - - - -
���� darks.log.Logger �̳е��ֶ�
Android
-  - - - - - - - - - - -
-���췽��ժҪ
DefaultLogger(Category category, - java.lang.String tag) - -
-           
-  - - - - - - - - - - - - - - - -
-����ժҪ
- voidaddAppender(Appender appender, - boolean rooted) - -
-          Add appender object
- voidlog(Level level, - java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by target level.
- - - - - - - -
���� darks.log.Logger �̳еķ���
debug, debug, error, error, getConfig, getLogger, getLogger, info, info, log, trace, trace, verbose, verbose, warn, warn
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-DefaultLogger

-
-public DefaultLogger(Category category,
-                     java.lang.String tag)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-addAppender

-
-public void addAppender(Appender appender,
-                        boolean rooted)
-
-
Add appender object -

-

-
ָ���ߣ�
�� Logger �е� addAppender
-
-
-
������
appender - Appender object
rooted - If true, appender wiil be added to root logger. otherwise - be added to current logger.
-
-
-
- -

-log

-
-public void log(Level level,
-                java.lang.String msg,
-                java.lang.Throwable t)
-
-
Output log message and exception stack information by target level. -

-

-
ָ���ߣ�
�� Logger �е� log
-
-
-
������
level - Level object
msg - Log message
t - Throwable object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + DefaultLogger.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua 2014-3-21
+
+
+ +

+ + + + + + + +
+�ֶ�ժҪ
+ + + + + + + +
���� darks.log.Logger �̳е��ֶ�
Android
+  + + + + + + + + + + +
+���췽��ժҪ
DefaultLogger(Category category, + java.lang.String tag) + +
+           
+  + + + + + + + + + + + + + + + +
+����ժҪ
+ voidaddAppender(Appender appender, + boolean rooted) + +
+          Add appender object
+ voidlog(Level level, + java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by target level.
+ + + + + + + +
���� darks.log.Logger �̳еķ���
debug, debug, error, error, getConfig, getLogger, getLogger, info, info, log, trace, trace, verbose, verbose, warn, warn
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+DefaultLogger

+
+public DefaultLogger(Category category,
+                     java.lang.String tag)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+addAppender

+
+public void addAppender(Appender appender,
+                        boolean rooted)
+
+
Add appender object +

+

+
ָ���ߣ�
�� Logger �е� addAppender
+
+
+
������
appender - Appender object
rooted - If true, appender will be added to root logger. otherwise + be added to current logger.
+
+
+
+ +

+log

+
+public void log(Level level,
+                java.lang.String msg,
+                java.lang.Throwable t)
+
+
Output log message and exception stack information by target level. +

+

+
ָ���ߣ�
�� Logger �е� log
+
+
+
������
level - Level object
msg - Log message
t - Throwable object
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/InvalidLogger.html b/docs/darks/log/InvalidLogger.html index 8128865..336fc46 100644 --- a/docs/darks/log/InvalidLogger.html +++ b/docs/darks/log/InvalidLogger.html @@ -1,327 +1,327 @@ - - - - - - -InvalidLogger - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� InvalidLogger

-
-java.lang.Object
-  �̳��� darks.log.Logger
-      �̳��� darks.log.InvalidLogger
-
-
-
-
public class InvalidLogger
extends Logger
- - -

+ + + + + + +InvalidLogger + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� InvalidLogger

+
+java.lang.Object
+  �̳��� darks.log.Logger
+      �̳��� darks.log.InvalidLogger
+
+
+
+
public class InvalidLogger
extends Logger
+ + +

Indicate log is invalid. Cause invalid config or exception - InvalidLogger.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
+ InvalidLogger.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
Liu lihua - 2014-3-21
-
-
- -

- - - - - - - -
-�ֶ�ժҪ
- - - - - - - -
���� darks.log.Logger �̳е��ֶ�
Android
-  - - - - - - - - - - -
-���췽��ժҪ
InvalidLogger() - -
-           
-  - - - - - - - - - - - - - - - -
-����ժҪ
- voidaddAppender(Appender appender, - boolean rooted) - -
-          Add appender object
- voidlog(Level level, - java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by target level.
- - - - - - - -
���� darks.log.Logger �̳еķ���
debug, debug, error, error, getConfig, getLogger, getLogger, info, info, log, trace, trace, verbose, verbose, warn, warn
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-InvalidLogger

-
-public InvalidLogger()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-addAppender

-
-public void addAppender(Appender appender,
-                        boolean rooted)
-
-
Add appender object -

-

-
ָ���ߣ�
�� Logger �е� addAppender
-
-
-
������
appender - Appender object
rooted - If true, appender wiil be added to root logger. otherwise - be added to current logger.
-
-
-
- -

-log

-
-public void log(Level level,
-                java.lang.String msg,
-                java.lang.Throwable t)
-
-
Output log message and exception stack information by target level. -

-

-
ָ���ߣ�
�� Logger �е� log
-
-
-
������
level - Level object
msg - Log message
t - Throwable object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + 2014-3-21 +
+
+ +

+ + + + + + + +
+�ֶ�ժҪ
+ + + + + + + +
���� darks.log.Logger �̳е��ֶ�
Android
+  + + + + + + + + + + +
+���췽��ժҪ
InvalidLogger() + +
+           
+  + + + + + + + + + + + + + + + +
+����ժҪ
+ voidaddAppender(Appender appender, + boolean rooted) + +
+          Add appender object
+ voidlog(Level level, + java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by target level.
+ + + + + + + +
���� darks.log.Logger �̳еķ���
debug, debug, error, error, getConfig, getLogger, getLogger, info, info, log, trace, trace, verbose, verbose, warn, warn
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+InvalidLogger

+
+public InvalidLogger()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+addAppender

+
+public void addAppender(Appender appender,
+                        boolean rooted)
+
+
Add appender object +

+

+
ָ���ߣ�
�� Logger �е� addAppender
+
+
+
������
appender - Appender object
rooted - If true, appender will be added to root logger. otherwise + be added to current logger.
+
+
+
+ +

+log

+
+public void log(Level level,
+                java.lang.String msg,
+                java.lang.Throwable t)
+
+
Output log message and exception stack information by target level. +

+

+
ָ���ߣ�
�� Logger �е� log
+
+
+
������
level - Level object
msg - Log message
t - Throwable object
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/Level.html b/docs/darks/log/Level.html index d76ac2a..3f91628 100644 --- a/docs/darks/log/Level.html +++ b/docs/darks/log/Level.html @@ -1,835 +1,835 @@ - - - - - - -Level - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� Level

-
-java.lang.Object
-  �̳��� darks.log.Level
-
-
-
������ʵ�ֵĽӿڣ�
java.io.Serializable
-
-
-
-
public class Level
extends java.lang.Object
implements java.io.Serializable
- - -

+ + + + + + +Level + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� Level

+
+java.lang.Object
+  �̳��� darks.log.Level
+
+
+
������ʵ�ֵĽӿڣ�
java.io.Serializable
+
+
+
+
public class Level
extends java.lang.Object
implements java.io.Serializable
+ + +

Indicate the log message's level. - The low level wiil ouput upper level message. For example: + The low level will output upper level message. For example:

  TRACE > ERROR > WARN > INFO > DEBUG > VERBOSE
  
- Level.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua 2014-3-21
-
������
�������
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-�ֶ�ժҪ
-static LevelDEBUG - -
-           
-static LevelERROR - -
-           
-static LevelINFO - -
-           
-static java.lang.StringLEVEL_DEBUG - -
-           
-static java.lang.StringLEVEL_ERROR - -
-           
-static java.lang.StringLEVEL_INFO - -
-           
-static java.lang.StringLEVEL_TRACE - -
-           
-static java.lang.StringLEVEL_VERBOSE - -
-           
-static java.lang.StringLEVEL_WARN - -
-           
-static LevelTRACE - -
-           
-static LevelVERBOSE - -
-           
-static LevelWARN - -
-           
-  - - - - - - - - - - - - - - - - -
-���췽��ժҪ
Level() - -
-           
Level(java.lang.String name, - int level) - -
-          Level constructor
Level(java.lang.String name, - int level, - int code) - -
-          Level constructor
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- intcompare(Level target) - -
-          Compare level between this and target level.
-static intcompare(Level lv1, - Level lv2) - -
-          Compare level between two levels.
- booleanequals(java.lang.Object obj) - -
-          
- intgetCode() - -
-           
- intgetLevel() - -
-           
-static LevelgetLevel(java.lang.String key) - -
-          Get level object by level name as key word
- java.lang.StringgetName() - -
-           
- inthashCode() - -
-          
-static voidregisterLevel(Level level) - -
-          Register level object
- voidsetCode(int code) - -
-           
- voidsetLevel(int level) - -
-           
- voidsetName(java.lang.String name) - -
-           
- java.lang.StringtoString() - -
-          
- - - - - - - -
���� java.lang.Object �̳еķ���
getClass, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-�ֶ���ϸ��Ϣ
- -

-DEBUG

-
-public static final Level DEBUG
-
-
-
-
-
- -

-ERROR

-
-public static final Level ERROR
-
-
-
-
-
- -

-INFO

-
-public static final Level INFO
-
-
-
-
-
- -

-LEVEL_DEBUG

-
-public static final java.lang.String LEVEL_DEBUG
-
-
-
������
�����ֶ�ֵ
-
-
- -

-LEVEL_ERROR

-
-public static final java.lang.String LEVEL_ERROR
-
-
-
������
�����ֶ�ֵ
-
-
- -

-LEVEL_INFO

-
-public static final java.lang.String LEVEL_INFO
-
-
-
������
�����ֶ�ֵ
-
-
- -

-LEVEL_TRACE

-
-public static final java.lang.String LEVEL_TRACE
-
-
-
������
�����ֶ�ֵ
-
-
- -

-LEVEL_VERBOSE

-
-public static final java.lang.String LEVEL_VERBOSE
-
-
-
������
�����ֶ�ֵ
-
-
- -

-LEVEL_WARN

-
-public static final java.lang.String LEVEL_WARN
-
-
-
������
�����ֶ�ֵ
-
-
- -

-TRACE

-
-public static final Level TRACE
-
-
-
-
-
- -

-VERBOSE

-
-public static final Level VERBOSE
-
-
-
-
-
- -

-WARN

-
-public static final Level WARN
-
-
-
-
- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-Level

-
-public Level()
-
-
-
- -

-Level

-
-public Level(java.lang.String name,
-             int level)
-
-
Level constructor -

-

-
������
name - Level name
level - Decided sequence
-
-
- -

-Level

-
-public Level(java.lang.String name,
-             int level,
-             int code)
-
-
Level constructor -

-

-
������
name - Level name
level - Decided sequence
code - Level code
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-compare

-
-public int compare(Level target)
-
-
Compare level between this and target level. -

-

-
-
-
-
������
target - Level target -
���أ�
If this level is greater than target, it wiil return > 0. If this - level is less than target, return < 0. otherwise return 0.
-
-
-
- -

-compare

-
-public static int compare(Level lv1,
-                          Level lv2)
-
-
Compare level between two levels. -

-

-
-
-
-
������
lv1 - Level source
lv2 - Level target -
���أ�
If lv1 is greater than lv2, it wiil return > 0. If lv1 is less - than lv2, return < 0. otherwise return 0.
-
-
-
- -

-equals

-
-public boolean equals(java.lang.Object obj)
-
-
-

-

-
���ǣ�
�� java.lang.Object �е� equals
-
-
-
-
-
-
- -

-getCode

-
-public int getCode()
-
-
-
-
-
-
-
-
-
- -

-getLevel

-
-public int getLevel()
-
-
-
-
-
-
-
-
-
- -

-getLevel

-
-public static Level getLevel(java.lang.String key)
-
-
Get level object by level name as key word -

-

-
-
-
-
������
key - Level name -
���أ�
Level object
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
-
-
-
-
- -

-hashCode

-
-public int hashCode()
-
-
-

-

-
���ǣ�
�� java.lang.Object �е� hashCode
-
-
-
-
-
-
- -

-registerLevel

-
-public static void registerLevel(Level level)
-
-
Register level object -

-

-
-
-
-
������
level - Level certified.
-
-
-
- -

-setCode

-
-public void setCode(int code)
-
-
-
-
-
-
-
-
-
- -

-setLevel

-
-public void setLevel(int level)
-
-
-
-
-
-
-
-
-
- -

-setName

-
-public void setName(java.lang.String name)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-

-

-
���ǣ�
�� java.lang.Object �е� toString
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + Level.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua 2014-3-21
+
������
�������
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+�ֶ�ժҪ
+static LevelDEBUG + +
+           
+static LevelERROR + +
+           
+static LevelINFO + +
+           
+static java.lang.StringLEVEL_DEBUG + +
+           
+static java.lang.StringLEVEL_ERROR + +
+           
+static java.lang.StringLEVEL_INFO + +
+           
+static java.lang.StringLEVEL_TRACE + +
+           
+static java.lang.StringLEVEL_VERBOSE + +
+           
+static java.lang.StringLEVEL_WARN + +
+           
+static LevelTRACE + +
+           
+static LevelVERBOSE + +
+           
+static LevelWARN + +
+           
+  + + + + + + + + + + + + + + + + +
+���췽��ժҪ
Level() + +
+           
Level(java.lang.String name, + int level) + +
+          Level constructor
Level(java.lang.String name, + int level, + int code) + +
+          Level constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ intcompare(Level target) + +
+          Compare level between this and target level.
+static intcompare(Level lv1, + Level lv2) + +
+          Compare level between two levels.
+ booleanequals(java.lang.Object obj) + +
+          
+ intgetCode() + +
+           
+ intgetLevel() + +
+           
+static LevelgetLevel(java.lang.String key) + +
+          Get level object by level name as key word
+ java.lang.StringgetName() + +
+           
+ inthashCode() + +
+          
+static voidregisterLevel(Level level) + +
+          Register level object
+ voidsetCode(int code) + +
+           
+ voidsetLevel(int level) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ java.lang.StringtoString() + +
+          
+ + + + + + + +
���� java.lang.Object �̳еķ���
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+�ֶ���ϸ��Ϣ
+ +

+DEBUG

+
+public static final Level DEBUG
+
+
+
+
+
+ +

+ERROR

+
+public static final Level ERROR
+
+
+
+
+
+ +

+INFO

+
+public static final Level INFO
+
+
+
+
+
+ +

+LEVEL_DEBUG

+
+public static final java.lang.String LEVEL_DEBUG
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+LEVEL_ERROR

+
+public static final java.lang.String LEVEL_ERROR
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+LEVEL_INFO

+
+public static final java.lang.String LEVEL_INFO
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+LEVEL_TRACE

+
+public static final java.lang.String LEVEL_TRACE
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+LEVEL_VERBOSE

+
+public static final java.lang.String LEVEL_VERBOSE
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+LEVEL_WARN

+
+public static final java.lang.String LEVEL_WARN
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+TRACE

+
+public static final Level TRACE
+
+
+
+
+
+ +

+VERBOSE

+
+public static final Level VERBOSE
+
+
+
+
+
+ +

+WARN

+
+public static final Level WARN
+
+
+
+
+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+Level

+
+public Level()
+
+
+
+ +

+Level

+
+public Level(java.lang.String name,
+             int level)
+
+
Level constructor +

+

+
������
name - Level name
level - Decided sequence
+
+
+ +

+Level

+
+public Level(java.lang.String name,
+             int level,
+             int code)
+
+
Level constructor +

+

+
������
name - Level name
level - Decided sequence
code - Level code
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+compare

+
+public int compare(Level target)
+
+
Compare level between this and target level. +

+

+
+
+
+
������
target - Level target +
���أ�
If this level is greater than target, it will return > 0. If this + level is less than target, return < 0. otherwise return 0.
+
+
+
+ +

+compare

+
+public static int compare(Level lv1,
+                          Level lv2)
+
+
Compare level between two levels. +

+

+
+
+
+
������
lv1 - Level source
lv2 - Level target +
���أ�
If lv1 is greater than lv2, it will return > 0. If lv1 is less + than lv2, return < 0. otherwise return 0.
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object obj)
+
+
+

+

+
���ǣ�
�� java.lang.Object �е� equals
+
+
+
+
+
+
+ +

+getCode

+
+public int getCode()
+
+
+
+
+
+
+
+
+
+ +

+getLevel

+
+public int getLevel()
+
+
+
+
+
+
+
+
+
+ +

+getLevel

+
+public static Level getLevel(java.lang.String key)
+
+
Get level object by level name as key word +

+

+
+
+
+
������
key - Level name +
���أ�
Level object
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+

+

+
���ǣ�
�� java.lang.Object �е� hashCode
+
+
+
+
+
+
+ +

+registerLevel

+
+public static void registerLevel(Level level)
+
+
Register level object +

+

+
+
+
+
������
level - Level certified.
+
+
+
+ +

+setCode

+
+public void setCode(int code)
+
+
+
+
+
+
+
+
+
+ +

+setLevel

+
+public void setLevel(int level)
+
+
+
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+

+

+
���ǣ�
�� java.lang.Object �е� toString
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/LogMessage.html b/docs/darks/log/LogMessage.html index e96f202..fd9476c 100644 --- a/docs/darks/log/LogMessage.html +++ b/docs/darks/log/LogMessage.html @@ -1,688 +1,688 @@ - - - - - - -LogMessage - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� LogMessage

-
-java.lang.Object
-  �̳��� darks.log.LogMessage
-
-
-
������ʵ�ֵĽӿڣ�
java.io.Serializable
-
-
-
-
public class LogMessage
extends java.lang.Object
implements java.io.Serializable
- - -

+ + + + + + +LogMessage + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� LogMessage

+
+java.lang.Object
+  �̳��� darks.log.LogMessage
+
+
+
������ʵ�ֵĽӿڣ�
java.io.Serializable
+
+
+
+
public class LogMessage
extends java.lang.Object
implements java.io.Serializable
+ + +

Logger message object. - LogMessage.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
�������
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
LogMessage() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- CategorygetCategory() - -
-           
- java.lang.StringgetClassName() - -
-           
- java.util.DategetDate() - -
-           
- LevelgetLevel() - -
-           
- java.lang.StringgetMessage() - -
-           
- java.lang.StringgetNamespace() - -
-           
-static longgetStartupTime() - -
-           
- java.lang.StringgetThreadName() - -
-           
- ThrowableInfogetThrowableInfo() - -
-           
- longgetTimeStamp() - -
-           
- voidsetCategory(Category category) - -
-           
- voidsetClassName(java.lang.String className) - -
-           
- voidsetDate(java.util.Date date) - -
-           
- voidsetLevel(Level level) - -
-           
- voidsetMessage(java.lang.String message) - -
-           
- voidsetNamespace(java.lang.String namespace) - -
-           
- voidsetThreadName(java.lang.String threadName) - -
-           
- voidsetThrowableInfo(ThrowableInfo throwableInfo) - -
-           
- voidsetTimeStamp(long timeStamp) - -
-           
- java.lang.StringtoString() - -
-          
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-LogMessage

-
-public LogMessage()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-getCategory

-
-public Category getCategory()
-
-
-
-
-
-
-
-
-
- -

-getClassName

-
-public java.lang.String getClassName()
-
-
-
-
-
-
-
-
-
- -

-getDate

-
-public java.util.Date getDate()
-
-
-
-
-
-
-
-
-
- -

-getLevel

-
-public Level getLevel()
-
-
-
-
-
-
-
-
-
- -

-getMessage

-
-public java.lang.String getMessage()
-
-
-
-
-
-
-
-
-
- -

-getNamespace

-
-public java.lang.String getNamespace()
-
-
-
-
-
-
-
-
-
- -

-getStartupTime

-
-public static long getStartupTime()
-
-
-
-
-
-
-
-
-
- -

-getThreadName

-
-public java.lang.String getThreadName()
-
-
-
-
-
-
-
-
-
- -

-getThrowableInfo

-
-public ThrowableInfo getThrowableInfo()
-
-
-
-
-
-
-
-
-
- -

-getTimeStamp

-
-public long getTimeStamp()
-
-
-
-
-
-
-
-
-
- -

-setCategory

-
-public void setCategory(Category category)
-
-
-
-
-
-
-
-
-
- -

-setClassName

-
-public void setClassName(java.lang.String className)
-
-
-
-
-
-
-
-
-
- -

-setDate

-
-public void setDate(java.util.Date date)
-
-
-
-
-
-
-
-
-
- -

-setLevel

-
-public void setLevel(Level level)
-
-
-
-
-
-
-
-
-
- -

-setMessage

-
-public void setMessage(java.lang.String message)
-
-
-
-
-
-
-
-
-
- -

-setNamespace

-
-public void setNamespace(java.lang.String namespace)
-
-
-
-
-
-
-
-
-
- -

-setThreadName

-
-public void setThreadName(java.lang.String threadName)
-
-
-
-
-
-
-
-
-
- -

-setThrowableInfo

-
-public void setThrowableInfo(ThrowableInfo throwableInfo)
-
-
-
-
-
-
-
-
-
- -

-setTimeStamp

-
-public void setTimeStamp(long timeStamp)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-

-

-
���ǣ�
�� java.lang.Object �е� toString
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + LogMessage.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
�������
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
LogMessage() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ CategorygetCategory() + +
+           
+ java.lang.StringgetClassName() + +
+           
+ java.util.DategetDate() + +
+           
+ LevelgetLevel() + +
+           
+ java.lang.StringgetMessage() + +
+           
+ java.lang.StringgetNamespace() + +
+           
+static longgetStartupTime() + +
+           
+ java.lang.StringgetThreadName() + +
+           
+ ThrowableInfogetThrowableInfo() + +
+           
+ longgetTimeStamp() + +
+           
+ voidsetCategory(Category category) + +
+           
+ voidsetClassName(java.lang.String className) + +
+           
+ voidsetDate(java.util.Date date) + +
+           
+ voidsetLevel(Level level) + +
+           
+ voidsetMessage(java.lang.String message) + +
+           
+ voidsetNamespace(java.lang.String namespace) + +
+           
+ voidsetThreadName(java.lang.String threadName) + +
+           
+ voidsetThrowableInfo(ThrowableInfo throwableInfo) + +
+           
+ voidsetTimeStamp(long timeStamp) + +
+           
+ java.lang.StringtoString() + +
+          
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+LogMessage

+
+public LogMessage()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getCategory

+
+public Category getCategory()
+
+
+
+
+
+
+
+
+
+ +

+getClassName

+
+public java.lang.String getClassName()
+
+
+
+
+
+
+
+
+
+ +

+getDate

+
+public java.util.Date getDate()
+
+
+
+
+
+
+
+
+
+ +

+getLevel

+
+public Level getLevel()
+
+
+
+
+
+
+
+
+
+ +

+getMessage

+
+public java.lang.String getMessage()
+
+
+
+
+
+
+
+
+
+ +

+getNamespace

+
+public java.lang.String getNamespace()
+
+
+
+
+
+
+
+
+
+ +

+getStartupTime

+
+public static long getStartupTime()
+
+
+
+
+
+
+
+
+
+ +

+getThreadName

+
+public java.lang.String getThreadName()
+
+
+
+
+
+
+
+
+
+ +

+getThrowableInfo

+
+public ThrowableInfo getThrowableInfo()
+
+
+
+
+
+
+
+
+
+ +

+getTimeStamp

+
+public long getTimeStamp()
+
+
+
+
+
+
+
+
+
+ +

+setCategory

+
+public void setCategory(Category category)
+
+
+
+
+
+
+
+
+
+ +

+setClassName

+
+public void setClassName(java.lang.String className)
+
+
+
+
+
+
+
+
+
+ +

+setDate

+
+public void setDate(java.util.Date date)
+
+
+
+
+
+
+
+
+
+ +

+setLevel

+
+public void setLevel(Level level)
+
+
+
+
+
+
+
+
+
+ +

+setMessage

+
+public void setMessage(java.lang.String message)
+
+
+
+
+
+
+
+
+
+ +

+setNamespace

+
+public void setNamespace(java.lang.String namespace)
+
+
+
+
+
+
+
+
+
+ +

+setThreadName

+
+public void setThreadName(java.lang.String threadName)
+
+
+
+
+
+
+
+
+
+ +

+setThrowableInfo

+
+public void setThrowableInfo(ThrowableInfo throwableInfo)
+
+
+
+
+
+
+
+
+
+ +

+setTimeStamp

+
+public void setTimeStamp(long timeStamp)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+

+

+
���ǣ�
�� java.lang.Object �е� toString
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/Logger.html b/docs/darks/log/Logger.html index d4360fc..2c7c2c9 100644 --- a/docs/darks/log/Logger.html +++ b/docs/darks/log/Logger.html @@ -1,108 +1,108 @@ - - - - - - -Logger - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� Logger

-
-java.lang.Object
-  �̳��� darks.log.Logger
-
-
-
ֱ����֪���ࣺ
DefaultLogger, InvalidLogger
-
-
-
-
public abstract class Logger
extends java.lang.Object
- - -

+ + + + + + +Logger + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� Logger

+
+java.lang.Object
+  �̳��� darks.log.Logger
+
+
+
ֱ����֪���ࣺ
DefaultLogger, InvalidLogger
+
+
+
+
public abstract class Logger
extends java.lang.Object
+ + +

Main logger class for developer Create a logger object by class object or tag string. Example: @@ -137,587 +137,587 @@

Logger.Android.setApplication(...); - Logger.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua 2014-3-21
-
-
- -

- - - - - - - - - - - -
-�ֶ�ժҪ
-static AndroidConfigAndroid - -
-          Android configration
-  - - - - - - - - - - -
-���췽��ժҪ
Logger() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
-abstract  voidaddAppender(Appender appender, - boolean rooted) - -
-          Add appender object
- voiddebug(java.lang.String msg) - -
-          Output log message by level DEBUG.
- voiddebug(java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by level DEBUG.
- voiderror(java.lang.String msg) - -
-          Output log message by level ERROR.
- voiderror(java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by level ERROR.
-static LoggerConfiggetConfig() - -
-           
-static LoggergetLogger(java.lang.Class<?> clazz) - -
-          Get the logger by tag class.
-static LoggergetLogger(java.lang.String tag) - -
-          Get the logger by tag string.
- voidinfo(java.lang.String msg) - -
-          Output log message by level INFO.
- voidinfo(java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by level INFO.
- voidlog(Level level, - java.lang.String msg) - -
-          Output log message by target level.
-abstract  voidlog(Level level, - java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by target level.
- voidtrace(java.lang.String msg) - -
-          Output log message by level TRACE.
- voidtrace(java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by level TRACE.
- voidverbose(java.lang.String msg) - -
-          Output log message by level VERBOSE.
- voidverbose(java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by level VERBOSE.
- voidwarn(java.lang.String msg) - -
-          Output log message by level WARN.
- voidwarn(java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by level WARN.
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-�ֶ���ϸ��Ϣ
- -

-Android

-
-public static AndroidConfig Android
-
-
Android configration -

-

-
-
- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-Logger

-
-public Logger()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-addAppender

-
-public abstract void addAppender(Appender appender,
-                                 boolean rooted)
-
-
Add appender object -

-

-
������
appender - Appender object
rooted - If true, appender wiil be added to root logger. otherwise - be added to current logger.
-
-
-
- -

-debug

-
-public void debug(java.lang.String msg)
-
-
Output log message by level DEBUG. -

-

-
������
msg - Log message
-
-
-
- -

-debug

-
-public void debug(java.lang.String msg,
-                  java.lang.Throwable t)
-
-
Output log message and exception stack information by level DEBUG. -

-

-
������
msg - Log message
t - Throwable object
-
-
-
- -

-error

-
-public void error(java.lang.String msg)
-
-
Output log message by level ERROR. -

-

-
������
msg - Log message
-
-
-
- -

-error

-
-public void error(java.lang.String msg,
-                  java.lang.Throwable t)
-
-
Output log message and exception stack information by level ERROR. -

-

-
������
msg - Log message
t - Throwable object
-
-
-
- -

-getConfig

-
-public static LoggerConfig getConfig()
-
-
-
-
-
-
- -

-getLogger

-
-public static Logger getLogger(java.lang.Class<?> clazz)
-
+ Logger.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua 2014-3-21
+
+
+ +

+ + + + + + + + + + + +
+�ֶ�ժҪ
+static AndroidConfigAndroid + +
+          Android configration
+  + + + + + + + + + + +
+���췽��ժҪ
Logger() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+abstract  voidaddAppender(Appender appender, + boolean rooted) + +
+          Add appender object
+ voiddebug(java.lang.String msg) + +
+          Output log message by level DEBUG.
+ voiddebug(java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by level DEBUG.
+ voiderror(java.lang.String msg) + +
+          Output log message by level ERROR.
+ voiderror(java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by level ERROR.
+static LoggerConfiggetConfig() + +
+           
+static LoggergetLogger(java.lang.Class<?> clazz) + +
+          Get the logger by tag class.
+static LoggergetLogger(java.lang.String tag) + +
+          Get the logger by tag string.
+ voidinfo(java.lang.String msg) + +
+          Output log message by level INFO.
+ voidinfo(java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by level INFO.
+ voidlog(Level level, + java.lang.String msg) + +
+          Output log message by target level.
+abstract  voidlog(Level level, + java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by target level.
+ voidtrace(java.lang.String msg) + +
+          Output log message by level TRACE.
+ voidtrace(java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by level TRACE.
+ voidverbose(java.lang.String msg) + +
+          Output log message by level VERBOSE.
+ voidverbose(java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by level VERBOSE.
+ voidwarn(java.lang.String msg) + +
+          Output log message by level WARN.
+ voidwarn(java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by level WARN.
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+�ֶ���ϸ��Ϣ
+ +

+Android

+
+public static AndroidConfig Android
+
+
Android configration +

+

+
+
+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+Logger

+
+public Logger()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+addAppender

+
+public abstract void addAppender(Appender appender,
+                                 boolean rooted)
+
+
Add appender object +

+

+
������
appender - Appender object
rooted - If true, appender will be added to root logger. otherwise + be added to current logger.
+
+
+
+ +

+debug

+
+public void debug(java.lang.String msg)
+
+
Output log message by level DEBUG. +

+

+
������
msg - Log message
+
+
+
+ +

+debug

+
+public void debug(java.lang.String msg,
+                  java.lang.Throwable t)
+
+
Output log message and exception stack information by level DEBUG. +

+

+
������
msg - Log message
t - Throwable object
+
+
+
+ +

+error

+
+public void error(java.lang.String msg)
+
+
Output log message by level ERROR. +

+

+
������
msg - Log message
+
+
+
+ +

+error

+
+public void error(java.lang.String msg,
+                  java.lang.Throwable t)
+
+
Output log message and exception stack information by level ERROR. +

+

+
������
msg - Log message
t - Throwable object
+
+
+
+ +

+getConfig

+
+public static LoggerConfig getConfig()
+
+
+
+
+
+
+ +

+getLogger

+
+public static Logger getLogger(java.lang.Class<?> clazz)
+
Get the logger by tag class. Example:
  static Logger log = Logger.getLogger(Demo.class);
- 
-

-

-
������
clazz - Tag class -
���أ�
Logger object
-
-
-
- -

-getLogger

-
-public static Logger getLogger(java.lang.String tag)
-
+ +

+

+
������
clazz - Tag class +
���أ�
Logger object
+
+
+
+ +

+getLogger

+
+public static Logger getLogger(java.lang.String tag)
+
Get the logger by tag string. Example:
  static Logger log = Logger.getLogger("demo");
- 
-

-

-
������
tag - Tag string -
���أ�
Logger object
-
-
-
- -

-info

-
-public void info(java.lang.String msg)
-
-
Output log message by level INFO. -

-

-
������
msg - log message
-
-
-
- -

-info

-
-public void info(java.lang.String msg,
-                 java.lang.Throwable t)
-
-
Output log message and exception stack information by level INFO. -

-

-
������
msg - Log message
t - Throwable object
-
-
-
- -

-log

-
-public void log(Level level,
-                java.lang.String msg)
-
-
Output log message by target level. -

-

-
������
level - Level object
msg - Log message
-
-
-
- -

-log

-
-public abstract void log(Level level,
-                         java.lang.String msg,
-                         java.lang.Throwable t)
-
-
Output log message and exception stack information by target level. -

-

-
������
level - Level object
msg - Log message
t - Throwable object
-
-
-
- -

-trace

-
-public void trace(java.lang.String msg)
-
-
Output log message by level TRACE. -

-

-
������
msg - Log message
-
-
-
- -

-trace

-
-public void trace(java.lang.String msg,
-                  java.lang.Throwable t)
-
-
Output log message and exception stack information by level TRACE. -

-

-
������
msg - Log message
t - Throwable object
-
-
-
- -

-verbose

-
-public void verbose(java.lang.String msg)
-
-
Output log message by level VERBOSE. -

-

-
������
msg - Log message
-
-
-
- -

-verbose

-
-public void verbose(java.lang.String msg,
-                    java.lang.Throwable t)
-
-
Output log message and exception stack information by level VERBOSE. -

-

-
������
msg - Log message
t - Throwable object
-
-
-
- -

-warn

-
-public void warn(java.lang.String msg)
-
-
Output log message by level WARN. -

-

-
������
msg - Log message
-
-
-
- -

-warn

-
-public void warn(java.lang.String msg,
-                 java.lang.Throwable t)
-
-
Output log message and exception stack information by level WARN. -

-

-
������
msg - Log message
t - Throwable object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + +

+

+
������
tag - Tag string +
���أ�
Logger object
+
+
+
+ +

+info

+
+public void info(java.lang.String msg)
+
+
Output log message by level INFO. +

+

+
������
msg - log message
+
+
+
+ +

+info

+
+public void info(java.lang.String msg,
+                 java.lang.Throwable t)
+
+
Output log message and exception stack information by level INFO. +

+

+
������
msg - Log message
t - Throwable object
+
+
+
+ +

+log

+
+public void log(Level level,
+                java.lang.String msg)
+
+
Output log message by target level. +

+

+
������
level - Level object
msg - Log message
+
+
+
+ +

+log

+
+public abstract void log(Level level,
+                         java.lang.String msg,
+                         java.lang.Throwable t)
+
+
Output log message and exception stack information by target level. +

+

+
������
level - Level object
msg - Log message
t - Throwable object
+
+
+
+ +

+trace

+
+public void trace(java.lang.String msg)
+
+
Output log message by level TRACE. +

+

+
������
msg - Log message
+
+
+
+ +

+trace

+
+public void trace(java.lang.String msg,
+                  java.lang.Throwable t)
+
+
Output log message and exception stack information by level TRACE. +

+

+
������
msg - Log message
t - Throwable object
+
+
+
+ +

+verbose

+
+public void verbose(java.lang.String msg)
+
+
Output log message by level VERBOSE. +

+

+
������
msg - Log message
+
+
+
+ +

+verbose

+
+public void verbose(java.lang.String msg,
+                    java.lang.Throwable t)
+
+
Output log message and exception stack information by level VERBOSE. +

+

+
������
msg - Log message
t - Throwable object
+
+
+
+ +

+warn

+
+public void warn(java.lang.String msg)
+
+
Output log message by level WARN. +

+

+
������
msg - Log message
+
+
+
+ +

+warn

+
+public void warn(java.lang.String msg,
+                 java.lang.Throwable t)
+
+
Output log message and exception stack information by level WARN. +

+

+
������
msg - Log message
t - Throwable object
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/LoggerConfig.html b/docs/darks/log/LoggerConfig.html index 336c700..4791096 100644 --- a/docs/darks/log/LoggerConfig.html +++ b/docs/darks/log/LoggerConfig.html @@ -1,421 +1,421 @@ - - - - - - -LoggerConfig - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� LoggerConfig

-
-java.lang.Object
-  �̳��� darks.log.LoggerConfig
-
-
-
-
public class LoggerConfig
extends java.lang.Object
- - -

+ + + + + + +LoggerConfig + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� LoggerConfig

+
+java.lang.Object
+  �̳��� darks.log.LoggerConfig
+
+
+
+
public class LoggerConfig
extends java.lang.Object
+ + +

Logger configuration - LoggerConfig.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua 2014-3-21
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
LoggerConfig() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voidaddCategory(Category category) - -
-          Add category object
- voidaddInherit(java.lang.String name, - boolean inherit) - -
-           
- java.util.Map<java.lang.String,Category>getCategories() - -
-           
- CategorygetCategory(java.lang.String name) - -
-           
- booleangetInherit(java.lang.String name) - -
-          Get inherit value by checking the closest tag name.
- CategorygetRoot() - -
-           
- booleanisRootInherit() - -
-           
- voidsetRoot(Category root) - -
-           
- voidsetRootInherit(boolean rootInherit) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-LoggerConfig

-
-public LoggerConfig()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-addCategory

-
-public void addCategory(Category category)
-
-
Add category object -

-

-
������
category - Category object
-
-
-
- -

-addInherit

-
-public void addInherit(java.lang.String name,
-                       boolean inherit)
-
-
-
-
-
-
- -

-getCategories

-
-public java.util.Map<java.lang.String,Category> getCategories()
-
-
-
-
-
-
- -

-getCategory

-
-public Category getCategory(java.lang.String name)
-
-
-
-
-
-
- -

-getInherit

-
-public boolean getInherit(java.lang.String name)
-
-
Get inherit value by checking the closest tag name. -

-

-
������
name - Tag name -
���أ�
true or false
-
-
-
- -

-getRoot

-
-public Category getRoot()
-
-
-
-
-
-
- -

-isRootInherit

-
-public boolean isRootInherit()
-
-
-
-
-
-
- -

-setRoot

-
-public void setRoot(Category root)
-
-
-
-
-
-
- -

-setRootInherit

-
-public void setRootInherit(boolean rootInherit)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + LoggerConfig.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua 2014-3-21
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
LoggerConfig() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voidaddCategory(Category category) + +
+          Add category object
+ voidaddInherit(java.lang.String name, + boolean inherit) + +
+           
+ java.util.Map<java.lang.String,Category>getCategories() + +
+           
+ CategorygetCategory(java.lang.String name) + +
+           
+ booleangetInherit(java.lang.String name) + +
+          Get inherit value by checking the closest tag name.
+ CategorygetRoot() + +
+           
+ booleanisRootInherit() + +
+           
+ voidsetRoot(Category root) + +
+           
+ voidsetRootInherit(boolean rootInherit) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+LoggerConfig

+
+public LoggerConfig()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+addCategory

+
+public void addCategory(Category category)
+
+
Add category object +

+

+
������
category - Category object
+
+
+
+ +

+addInherit

+
+public void addInherit(java.lang.String name,
+                       boolean inherit)
+
+
+
+
+
+
+ +

+getCategories

+
+public java.util.Map<java.lang.String,Category> getCategories()
+
+
+
+
+
+
+ +

+getCategory

+
+public Category getCategory(java.lang.String name)
+
+
+
+
+
+
+ +

+getInherit

+
+public boolean getInherit(java.lang.String name)
+
+
Get inherit value by checking the closest tag name. +

+

+
������
name - Tag name +
���أ�
true or false
+
+
+
+ +

+getRoot

+
+public Category getRoot()
+
+
+
+
+
+
+ +

+isRootInherit

+
+public boolean isRootInherit()
+
+
+
+
+
+
+ +

+setRoot

+
+public void setRoot(Category root)
+
+
+
+
+
+
+ +

+setRootInherit

+
+public void setRootInherit(boolean rootInherit)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/LoggerFactory.html b/docs/darks/log/LoggerFactory.html index c8e4e86..63d4bed 100644 --- a/docs/darks/log/LoggerFactory.html +++ b/docs/darks/log/LoggerFactory.html @@ -1,105 +1,105 @@ - - - - - - -LoggerFactory - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� LoggerFactory

-
-java.lang.Object
-  �̳��� darks.log.LoggerFactory
-
-
-
-
public final class LoggerFactory
extends java.lang.Object
- - -

+ + + + + + +LoggerFactory + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� LoggerFactory

+
+java.lang.Object
+  �̳��� darks.log.LoggerFactory
+
+
+
+
public final class LoggerFactory
extends java.lang.Object
+ + +

Logger factory is used to create logger object. Recommend you to create logger object by Logger instead of LoggerFactory. Example: @@ -108,134 +108,134 @@

static Logger log = LoggerFactory.getLogger("demo"); - LoggerFactory.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua 2014-3-21
-
������
Logger
-
- -

- - - - - - - - - - - - -
-����ժҪ
-static LoggergetLogger(java.lang.String tag) - -
-          Create logger object.
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-������ϸ��Ϣ
- -

-getLogger

-
-public static Logger getLogger(java.lang.String tag)
-
+ LoggerFactory.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua 2014-3-21
+
������
Logger
+
+ +

+ + + + + + + + + + + + +
+����ժҪ
+static LoggergetLogger(java.lang.String tag) + +
+          Create logger object.
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getLogger

+
+public static Logger getLogger(java.lang.String tag)
+
Create logger object. You can use Logger - instead of it. -

-

-
������
tag - Tag string + instead of it. +

+

+
������
tag - Tag string
���أ�
If succeed to be initialized, return DefaultLogger. Otherwise - return InvalidLogger.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + return InvalidLogger.
+ +
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/LoggerHolder.html b/docs/darks/log/LoggerHolder.html index 6953435..9e69055 100644 --- a/docs/darks/log/LoggerHolder.html +++ b/docs/darks/log/LoggerHolder.html @@ -1,337 +1,337 @@ - - - - - - -LoggerHolder - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� LoggerHolder

-
-java.lang.Object
-  �̳��� darks.log.LoggerHolder
-
-
-
-
public class LoggerHolder
extends java.lang.Object
- - -

-Appenders's holder for async appender. It wiil be handled in logger thread. - LoggerHolder.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua 2014-3-21
-
������
LoggerThread
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
LoggerHolder(LogMessage msg) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voidaddAppender(Appender appender) - -
-           
- java.util.List<Appender>getAppenders() - -
-           
- LogMessagegetMsg() - -
-           
- booleanisEmpty() - -
-           
- voidsetMsg(LogMessage msg) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-LoggerHolder

-
-public LoggerHolder(LogMessage msg)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-addAppender

-
-public void addAppender(Appender appender)
-
-
-
-
-
-
- -

-getAppenders

-
-public java.util.List<Appender> getAppenders()
-
-
-
-
-
-
- -

-getMsg

-
-public LogMessage getMsg()
-
-
-
-
-
-
- -

-isEmpty

-
-public boolean isEmpty()
-
-
-
-
-
-
- -

-setMsg

-
-public void setMsg(LogMessage msg)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +LoggerHolder + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� LoggerHolder

+
+java.lang.Object
+  �̳��� darks.log.LoggerHolder
+
+
+
+
public class LoggerHolder
extends java.lang.Object
+ + +

+Appenders's holder for async appender. It will be handled in logger thread. + LoggerHolder.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua 2014-3-21
+
������
LoggerThread
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
LoggerHolder(LogMessage msg) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voidaddAppender(Appender appender) + +
+           
+ java.util.List<Appender>getAppenders() + +
+           
+ LogMessagegetMsg() + +
+           
+ booleanisEmpty() + +
+           
+ voidsetMsg(LogMessage msg) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+LoggerHolder

+
+public LoggerHolder(LogMessage msg)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+addAppender

+
+public void addAppender(Appender appender)
+
+
+
+
+
+
+ +

+getAppenders

+
+public java.util.List<Appender> getAppenders()
+
+
+
+
+
+
+ +

+getMsg

+
+public LogMessage getMsg()
+
+
+
+
+
+
+ +

+isEmpty

+
+public boolean isEmpty()
+
+
+
+
+
+
+ +

+setMsg

+
+public void setMsg(LogMessage msg)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/LoggerThread.html b/docs/darks/log/LoggerThread.html index b378dff..0952395 100644 --- a/docs/darks/log/LoggerThread.html +++ b/docs/darks/log/LoggerThread.html @@ -1,337 +1,337 @@ - - - - - - -LoggerThread - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� LoggerThread

-
-java.lang.Object
-  �̳��� java.lang.Thread
-      �̳��� darks.log.LoggerThread
-
-
-
������ʵ�ֵĽӿڣ�
java.lang.Runnable
-
-
-
-
public class LoggerThread
extends java.lang.Thread
- - -

+ + + + + + +LoggerThread + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� LoggerThread

+
+java.lang.Object
+  �̳��� java.lang.Thread
+      �̳��� darks.log.LoggerThread
+
+
+
������ʵ�ֵĽӿڣ�
java.lang.Runnable
+
+
+
+
public class LoggerThread
extends java.lang.Thread
+ + +

Logger thread is used to process async appenders. - LoggerThread.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
+ LoggerThread.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
Liu lihua - 2014-3-21
-
-
- -

- - - - - - - -
-Ƕ����ժҪ
- - - - - - - -
���� java.lang.Thread �̳е�Ƕ����/�ӿ�
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
-  - - - - - - - -
-�ֶ�ժҪ
- - - - - - - -
���� java.lang.Thread �̳е��ֶ�
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-  - - - - - - - - - - -
-���췽��ժҪ
LoggerThread() - -
-           
-  - - - - - - - - - - - - - - - -
-����ժҪ
-static java.util.Queue<LoggerHolder>getHolders() - -
-           
- voidrun() - -
-          
- - - - - - - -
���� java.lang.Thread �̳еķ���
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-LoggerThread

-
-public LoggerThread()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-getHolders

-
-public static java.util.Queue<LoggerHolder> getHolders()
-
-
-
-
-
-
- -

-run

-
-public void run()
-
-
-

-

-
ָ���ߣ�
�ӿ� java.lang.Runnable �е� run
���ǣ�
�� java.lang.Thread �е� run
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + 2014-3-21 +
+
+ +

+ + + + + + + +
+Ƕ����ժҪ
+ + + + + + + +
���� java.lang.Thread �̳е�Ƕ����/�ӿ�
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
+  + + + + + + + +
+�ֶ�ժҪ
+ + + + + + + +
���� java.lang.Thread �̳е��ֶ�
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
+  + + + + + + + + + + +
+���췽��ժҪ
LoggerThread() + +
+           
+  + + + + + + + + + + + + + + + +
+����ժҪ
+static java.util.Queue<LoggerHolder>getHolders() + +
+           
+ voidrun() + +
+          
+ + + + + + + +
���� java.lang.Thread �̳еķ���
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+LoggerThread

+
+public LoggerThread()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getHolders

+
+public static java.util.Queue<LoggerHolder> getHolders()
+
+
+
+
+
+
+ +

+run

+
+public void run()
+
+
+

+

+
ָ���ߣ�
�ӿ� java.lang.Runnable �е� run
���ǣ�
�� java.lang.Thread �е� run
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/ThrowableInfo.html b/docs/darks/log/ThrowableInfo.html index 51011bd..bdb1449 100644 --- a/docs/darks/log/ThrowableInfo.html +++ b/docs/darks/log/ThrowableInfo.html @@ -1,532 +1,532 @@ - - - - - - -ThrowableInfo - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log -
-�� ThrowableInfo

-
-java.lang.Object
-  �̳��� darks.log.ThrowableInfo
-
-
-
������ʵ�ֵĽӿڣ�
java.io.Serializable
-
-
-
-
public class ThrowableInfo
extends java.lang.Object
implements java.io.Serializable
- - -

+ + + + + + +ThrowableInfo + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log +
+�� ThrowableInfo

+
+java.lang.Object
+  �̳��� darks.log.ThrowableInfo
+
+
+
������ʵ�ֵĽӿڣ�
java.io.Serializable
+
+
+
+
public class ThrowableInfo
extends java.lang.Object
implements java.io.Serializable
+ + +

Log message throwable information. - ThrowableInfo.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
�������
-
- -

- - - - - - - - - - - - - - -
-���췽��ժҪ
ThrowableInfo() - -
-           
ThrowableInfo(java.lang.StackTraceElement el, - java.lang.Throwable t) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voidbuildThrowableInfo(java.lang.StackTraceElement el, - java.lang.Throwable t) - -
-          Build throwable information by exception object.
- java.lang.StringgetCallerClass() - -
-           
- java.lang.StringgetCallerMethod() - -
-           
- intgetSource() - -
-           
- java.lang.StringgetSourceFile() - -
-           
- java.lang.ThrowablegetThrowable() - -
-           
- voidsetCallerClass(java.lang.String callerClass) - -
-           
- voidsetCallerMethod(java.lang.String callerMethod) - -
-           
- voidsetSource(int source) - -
-           
- voidsetSourceFile(java.lang.String sourceFile) - -
-           
- voidsetThrowable(java.lang.Throwable throwable) - -
-           
- java.lang.StringtoString() - -
-          
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-ThrowableInfo

-
-public ThrowableInfo()
-
-
-
- -

-ThrowableInfo

-
-public ThrowableInfo(java.lang.StackTraceElement el,
-                     java.lang.Throwable t)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-buildThrowableInfo

-
-public void buildThrowableInfo(java.lang.StackTraceElement el,
-                               java.lang.Throwable t)
-
-
Build throwable information by exception object. -

-

-
-
-
-
������
el - Stack trace element
t - Throwable object
-
-
-
- -

-getCallerClass

-
-public java.lang.String getCallerClass()
-
-
-
-
-
-
-
-
-
- -

-getCallerMethod

-
-public java.lang.String getCallerMethod()
-
-
-
-
-
-
-
-
-
- -

-getSource

-
-public int getSource()
-
-
-
-
-
-
-
-
-
- -

-getSourceFile

-
-public java.lang.String getSourceFile()
-
-
-
-
-
-
-
-
-
- -

-getThrowable

-
-public java.lang.Throwable getThrowable()
-
-
-
-
-
-
-
-
-
- -

-setCallerClass

-
-public void setCallerClass(java.lang.String callerClass)
-
-
-
-
-
-
-
-
-
- -

-setCallerMethod

-
-public void setCallerMethod(java.lang.String callerMethod)
-
-
-
-
-
-
-
-
-
- -

-setSource

-
-public void setSource(int source)
-
-
-
-
-
-
-
-
-
- -

-setSourceFile

-
-public void setSourceFile(java.lang.String sourceFile)
-
-
-
-
-
-
-
-
-
- -

-setThrowable

-
-public void setThrowable(java.lang.Throwable throwable)
-
-
-
-
-
-
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-

-

-
���ǣ�
�� java.lang.Object �е� toString
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + ThrowableInfo.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
�������
+
+ +

+ + + + + + + + + + + + + + +
+���췽��ժҪ
ThrowableInfo() + +
+           
ThrowableInfo(java.lang.StackTraceElement el, + java.lang.Throwable t) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voidbuildThrowableInfo(java.lang.StackTraceElement el, + java.lang.Throwable t) + +
+          Build throwable information by exception object.
+ java.lang.StringgetCallerClass() + +
+           
+ java.lang.StringgetCallerMethod() + +
+           
+ intgetSource() + +
+           
+ java.lang.StringgetSourceFile() + +
+           
+ java.lang.ThrowablegetThrowable() + +
+           
+ voidsetCallerClass(java.lang.String callerClass) + +
+           
+ voidsetCallerMethod(java.lang.String callerMethod) + +
+           
+ voidsetSource(int source) + +
+           
+ voidsetSourceFile(java.lang.String sourceFile) + +
+           
+ voidsetThrowable(java.lang.Throwable throwable) + +
+           
+ java.lang.StringtoString() + +
+          
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+ThrowableInfo

+
+public ThrowableInfo()
+
+
+
+ +

+ThrowableInfo

+
+public ThrowableInfo(java.lang.StackTraceElement el,
+                     java.lang.Throwable t)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+buildThrowableInfo

+
+public void buildThrowableInfo(java.lang.StackTraceElement el,
+                               java.lang.Throwable t)
+
+
Build throwable information by exception object. +

+

+
+
+
+
������
el - Stack trace element
t - Throwable object
+
+
+
+ +

+getCallerClass

+
+public java.lang.String getCallerClass()
+
+
+
+
+
+
+
+
+
+ +

+getCallerMethod

+
+public java.lang.String getCallerMethod()
+
+
+
+
+
+
+
+
+
+ +

+getSource

+
+public int getSource()
+
+
+
+
+
+
+
+
+
+ +

+getSourceFile

+
+public java.lang.String getSourceFile()
+
+
+
+
+
+
+
+
+
+ +

+getThrowable

+
+public java.lang.Throwable getThrowable()
+
+
+
+
+
+
+
+
+
+ +

+setCallerClass

+
+public void setCallerClass(java.lang.String callerClass)
+
+
+
+
+
+
+
+
+
+ +

+setCallerMethod

+
+public void setCallerMethod(java.lang.String callerMethod)
+
+
+
+
+
+
+
+
+
+ +

+setSource

+
+public void setSource(int source)
+
+
+
+
+
+
+
+
+
+ +

+setSourceFile

+
+public void setSourceFile(java.lang.String sourceFile)
+
+
+
+
+
+
+
+
+
+ +

+setThrowable

+
+public void setThrowable(java.lang.Throwable throwable)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+

+

+
���ǣ�
�� java.lang.Object �е� toString
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/Appender.html b/docs/darks/log/appender/Appender.html index e19309a..d7253e0 100644 --- a/docs/darks/log/appender/Appender.html +++ b/docs/darks/log/appender/Appender.html @@ -1,112 +1,112 @@ - - - - - - -Appender - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender -
-�� Appender

-
-java.lang.Object
-  �̳��� darks.log.appender.Appender
-
-
-
ֱ����֪���ࣺ
AndroidAppender, ConsoleAppender, SqliteAppender, StreamAppender
-
-
-
-
public abstract class Appender
extends java.lang.Object
- - -

+ + + + + + +Appender + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender +
+�� Appender

+
+java.lang.Object
+  �̳��� darks.log.appender.Appender
+
+
+
ֱ����֪���ࣺ
AndroidAppender, ConsoleAppender, SqliteAppender, StreamAppender
+
+
+
+
public abstract class Appender
extends java.lang.Object
+ + +

Appender interface for Custom log output. Example:

- public class SqliteAppender extends Appender
+ public class CustomAppender extends Appender
  {
  
      @Override
@@ -124,423 +124,423 @@ 

}

- Appender.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - -
-���췽��ժҪ
Appender() - -
-           
Appender(LoggerLayout layout) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voidactivateHandler() - -
-          The method wiil be called before first of doAppend called.
-abstract  voidappend(LogMessage msg, - java.lang.String log) - -
-          Append log message
- voiddoAppend(LogMessage msg) - -
-          Handle log message
- LoggerFiltergetFilter() - -
-           
- LoggerLayoutgetLayout() - -
-           
- java.lang.StringgetName() - -
-           
- java.lang.StringgetThrowMessage(java.lang.String log, - java.lang.Throwable e) - -
-          Buffer log message string with exception stack trace message target.
- booleanisAsync() - -
-           
-abstract  booleanneedPattern() - -
-          Whether need format log message string by layout.
- voidsetAsync(boolean async) - -
-           
- voidsetFilter(LoggerFilter filter) - -
-           
- voidsetLayout(LoggerLayout layout) - -
-           
- voidsetName(java.lang.String name) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-Appender

-
-public Appender()
-
-
-
- -

-Appender

-
-public Appender(LoggerLayout layout)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-activateHandler

-
-public void activateHandler()
-
-
The method wiil be called before first of doAppend called. -

-

-
-
-
-
- -

-append

-
-public abstract void append(LogMessage msg,
-                            java.lang.String log)
-                     throws java.lang.Exception
-
-
Append log message -

-

-
������
msg - Log message
log - if needPattern() return true, log wiil be formatted by layout. - Otherwise return LogMessage.message -
�׳��� -
java.lang.Exception - Exception information
-
-
-
- -

-doAppend

-
-public void doAppend(LogMessage msg)
-
-
Handle log message -

-

-
������
msg - Log message
-
-
-
- -

-getFilter

-
-public LoggerFilter getFilter()
-
-
-
-
-
-
- -

-getLayout

-
-public LoggerLayout getLayout()
-
-
-
-
-
-
- -

-getName

-
-public java.lang.String getName()
-
-
-
-
-
-
- -

-getThrowMessage

-
-public java.lang.String getThrowMessage(java.lang.String log,
-                                        java.lang.Throwable e)
-
-
Buffer log message string with exception stack trace message target. -

-

-
������
log - Log message string
e - Exception object -
���أ�
Log message with exception trace.
-
-
-
- -

-isAsync

-
-public boolean isAsync()
-
-
-
-
-
-
- -

-needPattern

-
-public abstract boolean needPattern()
-
-
Whether need format log message string by layout. -

-

- -
���أ�
If need, return true default.
-
-
-
- -

-setAsync

-
-public void setAsync(boolean async)
-
-
-
-
-
-
- -

-setFilter

-
-public void setFilter(LoggerFilter filter)
-
-
-
-
-
-
- -

-setLayout

-
-public void setLayout(LoggerLayout layout)
-
-
-
-
-
-
- -

-setName

-
-public void setName(java.lang.String name)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + Appender.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + +
+���췽��ժҪ
Appender() + +
+           
Appender(LoggerLayout layout) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voidactivateHandler() + +
+          The method will be called before first of doAppend called.
+abstract  voidappend(LogMessage msg, + java.lang.String log) + +
+          Append log message
+ voiddoAppend(LogMessage msg) + +
+          Handle log message
+ LoggerFiltergetFilter() + +
+           
+ LoggerLayoutgetLayout() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.StringgetThrowMessage(java.lang.String log, + java.lang.Throwable e) + +
+          Buffer log message string with exception stack trace message target.
+ booleanisAsync() + +
+           
+abstract  booleanneedPattern() + +
+          Whether need format log message string by layout.
+ voidsetAsync(boolean async) + +
+           
+ voidsetFilter(LoggerFilter filter) + +
+           
+ voidsetLayout(LoggerLayout layout) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+Appender

+
+public Appender()
+
+
+
+ +

+Appender

+
+public Appender(LoggerLayout layout)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+activateHandler

+
+public void activateHandler()
+
+
The method will be called before first of doAppend called. +

+

+
+
+
+
+ +

+append

+
+public abstract void append(LogMessage msg,
+                            java.lang.String log)
+                     throws java.lang.Exception
+
+
Append log message +

+

+
������
msg - Log message
log - if needPattern() return true, log will be formatted by layout. + Otherwise return LogMessage.message +
�׳��� +
java.lang.Exception - Exception information
+
+
+
+ +

+doAppend

+
+public void doAppend(LogMessage msg)
+
+
Handle log message +

+

+
������
msg - Log message
+
+
+
+ +

+getFilter

+
+public LoggerFilter getFilter()
+
+
+
+
+
+
+ +

+getLayout

+
+public LoggerLayout getLayout()
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+getThrowMessage

+
+public java.lang.String getThrowMessage(java.lang.String log,
+                                        java.lang.Throwable e)
+
+
Buffer log message string with exception stack trace message target. +

+

+
������
log - Log message string
e - Exception object +
���أ�
Log message with exception trace.
+
+
+
+ +

+isAsync

+
+public boolean isAsync()
+
+
+
+
+
+
+ +

+needPattern

+
+public abstract boolean needPattern()
+
+
Whether need format log message string by layout. +

+

+ +
���أ�
If need, return true default.
+
+
+
+ +

+setAsync

+
+public void setAsync(boolean async)
+
+
+
+
+
+
+ +

+setFilter

+
+public void setFilter(LoggerFilter filter)
+
+
+
+
+
+
+ +

+setLayout

+
+public void setLayout(LoggerLayout layout)
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/AppenderManager.html b/docs/darks/log/appender/AppenderManager.html index 2f9c88d..66e861b 100644 --- a/docs/darks/log/appender/AppenderManager.html +++ b/docs/darks/log/appender/AppenderManager.html @@ -1,286 +1,286 @@ - - - - - - -AppenderManager - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender -
-�� AppenderManager

-
-java.lang.Object
-  �̳��� darks.log.appender.AppenderManager
-
-
-
-
public final class AppenderManager
extends java.lang.Object
- - -

+ + + + + + +AppenderManager + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender +
+�� AppenderManager

+
+java.lang.Object
+  �̳��� darks.log.appender.AppenderManager
+
+
+
+
public final class AppenderManager
extends java.lang.Object
+ + +

Indicate to manage appenders Appender. - Manager.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
AppenderManager() - -
-           
-  - - - - - - - - - - - - - - - -
-����ժҪ
-static AppendergetAppender(java.lang.String name) - -
-          Get appender object by appender name
-static voidregisterAppender(Appender appender) - -
-          Register appender.
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-AppenderManager

-
-public AppenderManager()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-getAppender

-
-public static Appender getAppender(java.lang.String name)
-
-
Get appender object by appender name -

-

-
������
name - Appender name -
���أ�
Appender object
-
-
-
- -

-registerAppender

-
-public static void registerAppender(Appender appender)
-
-
Register appender. Appender name as key, appender object as value. -

-

-
������
appender - Appender object
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + Manager.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
AppenderManager() + +
+           
+  + + + + + + + + + + + + + + + +
+����ժҪ
+static AppendergetAppender(java.lang.String name) + +
+          Get appender object by appender name
+static voidregisterAppender(Appender appender) + +
+          Register appender.
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+AppenderManager

+
+public AppenderManager()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getAppender

+
+public static Appender getAppender(java.lang.String name)
+
+
Get appender object by appender name +

+

+
������
name - Appender name +
���أ�
Appender object
+
+
+
+ +

+registerAppender

+
+public static void registerAppender(Appender appender)
+
+
Register appender. Appender name as key, appender object as value. +

+

+
������
appender - Appender object
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/class-use/Appender.html b/docs/darks/log/appender/class-use/Appender.html index d188fd4..ba49641 100644 --- a/docs/darks/log/appender/class-use/Appender.html +++ b/docs/darks/log/appender/class-use/Appender.html @@ -1,359 +1,359 @@ - - - - - - -�� darks.log.appender.Appender ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.Appender
��ʹ��

-
- - - - - - - - - - - - - - - - - -
-ʹ�� Appender ��������
darks.log  
darks.log.appender  
darks.log.appender.impl  
-  -

- - - - - -
-darks.log �� Appender ��ʹ��
-  -

- - - - - - - - - - - - - - - - - -
���ر�������Ϊ Appender �����͵� darks.log �еķ���
- java.util.List<Appender>Category.buildAppenderArray() - -
-          Build appenders list from appender tags array
- java.util.List<Appender>Category.getAppenderList() - -
-           
- java.util.List<Appender>LoggerHolder.getAppenders() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
��������Ϊ Appender �� darks.log �еķ���
- voidLoggerHolder.addAppender(Appender appender) - -
-           
- voidDefaultLogger.addAppender(Appender appender, - boolean rooted) - -
-          Add appender object
-abstract  voidLogger.addAppender(Appender appender, - boolean rooted) - -
-          Add appender object
- voidInvalidLogger.addAppender(Appender appender, - boolean rooted) - -
-          Add appender object
-  -

- - - - - -
-darks.log.appender �� Appender ��ʹ��
-  -

- - - - - - - - - -
���� Appender �� darks.log.appender �еķ���
-static AppenderAppenderManager.getAppender(java.lang.String name) - -
-          Get appender object by appender name
-  -

- - - - - - - - - -
��������Ϊ Appender �� darks.log.appender �еķ���
-static voidAppenderManager.registerAppender(Appender appender) - -
-          Register appender.
-  -

- - - - - -
-darks.log.appender.impl �� Appender ��ʹ��
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
darks.log.appender.impl �� Appender ������
- classAndroidAppender - -
-          Appender for android.
- classConsoleAppender - -
-          Appender for system console.
- classFileAppender - -
-          Appender for file.
- classFileDateSizeAppender - -
-          Appender for file.
- classSocketAppender - -
-          Appender for network.
- classSqliteAppender - -
-           
- classStreamAppender - -
-          Appender for stream.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.Appender ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.Appender
��ʹ��

+
+ + + + + + + + + + + + + + + + + +
+ʹ�� Appender ��������
darks.log  
darks.log.appender  
darks.log.appender.impl  
+  +

+ + + + + +
+darks.log �� Appender ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + +
���ر�������Ϊ Appender �����͵� darks.log �еķ���
+ java.util.List<Appender>Category.buildAppenderArray() + +
+          Build appenders list from appender tags array
+ java.util.List<Appender>Category.getAppenderList() + +
+           
+ java.util.List<Appender>LoggerHolder.getAppenders() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
��������Ϊ Appender �� darks.log �еķ���
+ voidLoggerHolder.addAppender(Appender appender) + +
+           
+ voidDefaultLogger.addAppender(Appender appender, + boolean rooted) + +
+          Add appender object
+abstract  voidLogger.addAppender(Appender appender, + boolean rooted) + +
+          Add appender object
+ voidInvalidLogger.addAppender(Appender appender, + boolean rooted) + +
+          Add appender object
+  +

+ + + + + +
+darks.log.appender �� Appender ��ʹ��
+  +

+ + + + + + + + + +
���� Appender �� darks.log.appender �еķ���
+static AppenderAppenderManager.getAppender(java.lang.String name) + +
+          Get appender object by appender name
+  +

+ + + + + + + + + +
��������Ϊ Appender �� darks.log.appender �еķ���
+static voidAppenderManager.registerAppender(Appender appender) + +
+          Register appender.
+  +

+ + + + + +
+darks.log.appender.impl �� Appender ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
darks.log.appender.impl �� Appender ������
+ classAndroidAppender + +
+          Appender for android.
+ classConsoleAppender + +
+          Appender for system console.
+ classFileAppender + +
+          Appender for file.
+ classFileDateSizeAppender + +
+          Appender for file.
+ classSocketAppender + +
+          Appender for network.
+ classSqliteAppender + +
+           
+ classStreamAppender + +
+          Appender for stream.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/class-use/AppenderManager.html b/docs/darks/log/appender/class-use/AppenderManager.html index a57c1e2..214f3e7 100644 --- a/docs/darks/log/appender/class-use/AppenderManager.html +++ b/docs/darks/log/appender/class-use/AppenderManager.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.appender.AppenderManager ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.AppenderManager
��ʹ��

-
-û�� darks.log.appender.AppenderManager ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.AppenderManager ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.AppenderManager
��ʹ��

+
+û�� darks.log.appender.AppenderManager ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/AndroidAppender.html b/docs/darks/log/appender/impl/AndroidAppender.html index c552bb5..216fd0a 100644 --- a/docs/darks/log/appender/impl/AndroidAppender.html +++ b/docs/darks/log/appender/impl/AndroidAppender.html @@ -1,107 +1,107 @@ - - - - - - -AndroidAppender - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender.impl -
-�� AndroidAppender

-
-java.lang.Object
-  �̳��� darks.log.appender.Appender
-      �̳��� darks.log.appender.impl.AndroidAppender
-
-
-
-
public class AndroidAppender
extends Appender
- - -

-Appender for android. The appender wiil output log message in logcat.
+ + + + + + +AndroidAppender + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender.impl +
+�� AndroidAppender

+
+java.lang.Object
+  �̳��� darks.log.appender.Appender
+      �̳��� darks.log.appender.impl.AndroidAppender
+
+
+
+
public class AndroidAppender
extends Appender
+ + +

+Appender for android. The appender will output log message in logcat.
Example:

@@ -111,206 +111,206 @@ 

logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} [%f][%p] - %m%n

- AndroidAppender.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
Appender
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
AndroidAppender() - -
-           
-  - - - - - - - - - - - - - - - -
-����ժҪ
- voidappend(LogMessage msg, - java.lang.String log) - -
-          Append log message
- booleanneedPattern() - -
-          Whether need format log message string by layout.
- - - - - - - -
���� darks.log.appender.Appender �̳еķ���
activateHandler, doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-AndroidAppender

-
-public AndroidAppender()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-append

-
-public void append(LogMessage msg,
-                   java.lang.String log)
-            throws java.lang.Exception
-
-
Append log message -

-

-
ָ���ߣ�
�� Appender �е� append
-
-
-
������
msg - Log message
log - if needPattern() return true, log wiil be formatted by layout. - Otherwise return LogMessage.message -
�׳��� -
java.lang.Exception - Exception information
-
-
-
- -

-needPattern

-
-public boolean needPattern()
-
-
Whether need format log message string by layout. -

-

-
ָ���ߣ�
�� Appender �е� needPattern
-
-
- -
���أ�
If need, return true default.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + AndroidAppender.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
Appender
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
AndroidAppender() + +
+           
+  + + + + + + + + + + + + + + + +
+����ժҪ
+ voidappend(LogMessage msg, + java.lang.String log) + +
+          Append log message
+ booleanneedPattern() + +
+          Whether need format log message string by layout.
+ + + + + + + +
���� darks.log.appender.Appender �̳еķ���
activateHandler, doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+AndroidAppender

+
+public AndroidAppender()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+append

+
+public void append(LogMessage msg,
+                   java.lang.String log)
+            throws java.lang.Exception
+
+
Append log message +

+

+
ָ���ߣ�
�� Appender �е� append
+
+
+
������
msg - Log message
log - if needPattern() return true, log will be formatted by layout. + Otherwise return LogMessage.message +
�׳��� +
java.lang.Exception - Exception information
+
+
+
+ +

+needPattern

+
+public boolean needPattern()
+
+
Whether need format log message string by layout. +

+

+
ָ���ߣ�
�� Appender �е� needPattern
+
+
+ +
���أ�
If need, return true default.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/ConsoleAppender.html b/docs/darks/log/appender/impl/ConsoleAppender.html index de9f12f..bc30b6f 100644 --- a/docs/darks/log/appender/impl/ConsoleAppender.html +++ b/docs/darks/log/appender/impl/ConsoleAppender.html @@ -1,107 +1,107 @@ - - - - - - -ConsoleAppender - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender.impl -
-�� ConsoleAppender

-
-java.lang.Object
-  �̳��� darks.log.appender.Appender
-      �̳��� darks.log.appender.impl.ConsoleAppender
-
-
-
-
public class ConsoleAppender
extends Appender
- - -

-Appender for system console. The appender wiil output log message in command + + + + + + +ConsoleAppender + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender.impl +
+�� ConsoleAppender

+
+java.lang.Object
+  �̳��� darks.log.appender.Appender
+      �̳��� darks.log.appender.impl.ConsoleAppender
+
+
+
+
public class ConsoleAppender
extends Appender
+ + +

+Appender for system console. The appender will output log message in command console.
Example: @@ -112,206 +112,206 @@

logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} [%f][%p] - %m%n - ConsoleAppender.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
Appender
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
ConsoleAppender() - -
-           
-  - - - - - - - - - - - - - - - -
-����ժҪ
- voidappend(LogMessage msg, - java.lang.String log) - -
-          Append log message
- booleanneedPattern() - -
-          Whether need format log message string by layout.
- - - - - - - -
���� darks.log.appender.Appender �̳еķ���
activateHandler, doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-ConsoleAppender

-
-public ConsoleAppender()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-append

-
-public void append(LogMessage msg,
-                   java.lang.String log)
-            throws java.lang.Exception
-
-
Append log message -

-

-
ָ���ߣ�
�� Appender �е� append
-
-
-
������
msg - Log message
log - if needPattern() return true, log wiil be formatted by layout. - Otherwise return LogMessage.message -
�׳��� -
java.lang.Exception - Exception information
-
-
-
- -

-needPattern

-
-public boolean needPattern()
-
-
Whether need format log message string by layout. -

-

-
ָ���ߣ�
�� Appender �е� needPattern
-
-
- -
���أ�
If need, return true default.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + ConsoleAppender.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
Appender
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
ConsoleAppender() + +
+           
+  + + + + + + + + + + + + + + + +
+����ժҪ
+ voidappend(LogMessage msg, + java.lang.String log) + +
+          Append log message
+ booleanneedPattern() + +
+          Whether need format log message string by layout.
+ + + + + + + +
���� darks.log.appender.Appender �̳еķ���
activateHandler, doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+ConsoleAppender

+
+public ConsoleAppender()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+append

+
+public void append(LogMessage msg,
+                   java.lang.String log)
+            throws java.lang.Exception
+
+
Append log message +

+

+
ָ���ߣ�
�� Appender �е� append
+
+
+
������
msg - Log message
log - if needPattern() return true, log will be formatted by layout. + Otherwise return LogMessage.message +
�׳��� +
java.lang.Exception - Exception information
+
+
+
+ +

+needPattern

+
+public boolean needPattern()
+
+
Whether need format log message string by layout. +

+

+
ָ���ߣ�
�� Appender �е� needPattern
+
+
+ +
���أ�
If need, return true default.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/FileAppender.html b/docs/darks/log/appender/impl/FileAppender.html index 54609f9..f22e054 100644 --- a/docs/darks/log/appender/impl/FileAppender.html +++ b/docs/darks/log/appender/impl/FileAppender.html @@ -1,110 +1,110 @@ - - - - - - -FileAppender - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender.impl -
-�� FileAppender

-
-java.lang.Object
-  �̳��� darks.log.appender.Appender
-      �̳��� darks.log.appender.impl.StreamAppender
-          �̳��� darks.log.appender.impl.FileAppender
-
-
-
ֱ����֪���ࣺ
FileDateSizeAppender
-
-
-
-
public class FileAppender
extends StreamAppender
- - -

+ + + + + + +FileAppender + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender.impl +
+�� FileAppender

+
+java.lang.Object
+  �̳��� darks.log.appender.Appender
+      �̳��� darks.log.appender.impl.StreamAppender
+          �̳��� darks.log.appender.impl.FileAppender
+
+
+
ֱ����֪���ࣺ
FileDateSizeAppender
+
+
+
+
public class FileAppender
extends StreamAppender
+ + +

Appender for file. If you want to create dynamical file name, you can use ${PROPERTY_VARIABLE} to get system property value such as ${user.dir}. If you want to include the date or time in file name, you can use ${D[DATE_PATTERN]} @@ -119,492 +119,492 @@

logd.appender.FILE.buffered=true - FileAppender.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
StreamAppender, -Appender
-
- -

- - - - - - - -
-�ֶ�ժҪ
- - - - - - - -
���� darks.log.appender.impl.StreamAppender �̳е��ֶ�
STYPE_LOG_OBJECT, STYPE_LOG_STRING, TYPE_LOG_OBJECT, TYPE_LOG_STRING
-  - - - - - - - - - - - - - - - - - - - -
-���췽��ժҪ
FileAppender() - -
-           
FileAppender(LoggerLayout layout) - -
-           
FileAppender(LoggerLayout layout, - java.io.OutputStream outStream) - -
-           
FileAppender(java.io.OutputStream outStream) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voidactivateHandler() - -
-          The method wiil be called before first of doAppend called.
- java.lang.StringcreateFile(java.lang.String path, - boolean append, - boolean bufIO, - int bufSize) - -
-          Create file by paramters
- java.io.OutputStreamexpandOutStream(java.lang.String path, - java.io.OutputStream outStream) - -
-          Expand output stream before set output stream.
- intgetBufferSize() - -
-           
- java.lang.StringgetFileName() - -
-           
- FilePickergetFilePicker() - -
-           
- booleanisBuffered() - -
-           
- booleanisFileAppend() - -
-           
- voidsetBuffered(boolean buffered) - -
-           
- voidsetBufferSize(int bufferSize) - -
-           
- voidsetFileAppend(boolean fileAppend) - -
-           
- voidsetFileName(java.lang.String fileName) - -
-           
- voidsetFilePicker(FilePicker filePicker) - -
-           
- - - - - - - -
���� darks.log.appender.impl.StreamAppender �̳еķ���
append, closeStream, getEncoding, getMsgType, getOutStream, isImmediateFlush, isLittleEndian, isWrapBytes, needPattern, setEncoding, setImmediateFlush, setLittleEndian, setMsgType, setOutStream, setWrapBytes
- - - - - - - -
���� darks.log.appender.Appender �̳еķ���
doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-FileAppender

-
-public FileAppender()
-
-
-
- -

-FileAppender

-
-public FileAppender(LoggerLayout layout)
-
-
-
- -

-FileAppender

-
-public FileAppender(LoggerLayout layout,
-                    java.io.OutputStream outStream)
-
-
-
- -

-FileAppender

-
-public FileAppender(java.io.OutputStream outStream)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-activateHandler

-
-public void activateHandler()
-
-
The method wiil be called before first of doAppend called. -

-

-
���ǣ�
�� Appender �е� activateHandler
-
-
-
-
-
-
- -

-createFile

-
-public java.lang.String createFile(java.lang.String path,
-                                   boolean append,
-                                   boolean bufIO,
-                                   int bufSize)
-                            throws java.io.IOException
-
-
Create file by paramters -

-

-
������
path - File path
append - If true, append content to stream.
bufIO - If true, immediateFlush wiil be false.
bufSize - Buffer size -
���أ�
File path after converted -
�׳��� -
java.io.IOException - IOException object
-
-
-
- -

-expandOutStream

-
-public java.io.OutputStream expandOutStream(java.lang.String path,
-                                            java.io.OutputStream outStream)
-
-
Expand output stream before set output stream. -

-

-
������
path - File path
outStream - OutputStream object -
���أ�
OutputStream object after converted
-
-
-
- -

-getBufferSize

-
-public int getBufferSize()
-
-
-
-
-
-
- -

-getFileName

-
-public java.lang.String getFileName()
-
-
-
-
-
-
- -

-getFilePicker

-
-public FilePicker getFilePicker()
-
-
-
-
-
-
- -

-isBuffered

-
-public boolean isBuffered()
-
-
-
-
-
-
- -

-isFileAppend

-
-public boolean isFileAppend()
-
-
-
-
-
-
- -

-setBuffered

-
-public void setBuffered(boolean buffered)
-
-
-
-
-
-
- -

-setBufferSize

-
-public void setBufferSize(int bufferSize)
-
-
-
-
-
-
- -

-setFileAppend

-
-public void setFileAppend(boolean fileAppend)
-
-
-
-
-
-
- -

-setFileName

-
-public void setFileName(java.lang.String fileName)
-
-
-
-
-
-
- -

-setFilePicker

-
-public void setFilePicker(FilePicker filePicker)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + FileAppender.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
StreamAppender, +Appender
+
+ +

+ + + + + + + +
+�ֶ�ժҪ
+ + + + + + + +
���� darks.log.appender.impl.StreamAppender �̳е��ֶ�
STYPE_LOG_OBJECT, STYPE_LOG_STRING, TYPE_LOG_OBJECT, TYPE_LOG_STRING
+  + + + + + + + + + + + + + + + + + + + +
+���췽��ժҪ
FileAppender() + +
+           
FileAppender(LoggerLayout layout) + +
+           
FileAppender(LoggerLayout layout, + java.io.OutputStream outStream) + +
+           
FileAppender(java.io.OutputStream outStream) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voidactivateHandler() + +
+          The method will be called before first of doAppend called.
+ java.lang.StringcreateFile(java.lang.String path, + boolean append, + boolean bufIO, + int bufSize) + +
+          Create file by paramters
+ java.io.OutputStreamexpandOutStream(java.lang.String path, + java.io.OutputStream outStream) + +
+          Expand output stream before set output stream.
+ intgetBufferSize() + +
+           
+ java.lang.StringgetFileName() + +
+           
+ FilePickergetFilePicker() + +
+           
+ booleanisBuffered() + +
+           
+ booleanisFileAppend() + +
+           
+ voidsetBuffered(boolean buffered) + +
+           
+ voidsetBufferSize(int bufferSize) + +
+           
+ voidsetFileAppend(boolean fileAppend) + +
+           
+ voidsetFileName(java.lang.String fileName) + +
+           
+ voidsetFilePicker(FilePicker filePicker) + +
+           
+ + + + + + + +
���� darks.log.appender.impl.StreamAppender �̳еķ���
append, closeStream, getEncoding, getMsgType, getOutStream, isImmediateFlush, isLittleEndian, isWrapBytes, needPattern, setEncoding, setImmediateFlush, setLittleEndian, setMsgType, setOutStream, setWrapBytes
+ + + + + + + +
���� darks.log.appender.Appender �̳еķ���
doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+FileAppender

+
+public FileAppender()
+
+
+
+ +

+FileAppender

+
+public FileAppender(LoggerLayout layout)
+
+
+
+ +

+FileAppender

+
+public FileAppender(LoggerLayout layout,
+                    java.io.OutputStream outStream)
+
+
+
+ +

+FileAppender

+
+public FileAppender(java.io.OutputStream outStream)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+activateHandler

+
+public void activateHandler()
+
+
The method will be called before first of doAppend called. +

+

+
���ǣ�
�� Appender �е� activateHandler
+
+
+
+
+
+
+ +

+createFile

+
+public java.lang.String createFile(java.lang.String path,
+                                   boolean append,
+                                   boolean bufIO,
+                                   int bufSize)
+                            throws java.io.IOException
+
+
Create file by paramters +

+

+
������
path - File path
append - If true, append content to stream.
bufIO - If true, immediateFlush will be false.
bufSize - Buffer size +
���أ�
File path after converted +
�׳��� +
java.io.IOException - IOException object
+
+
+
+ +

+expandOutStream

+
+public java.io.OutputStream expandOutStream(java.lang.String path,
+                                            java.io.OutputStream outStream)
+
+
Expand output stream before set output stream. +

+

+
������
path - File path
outStream - OutputStream object +
���أ�
OutputStream object after converted
+
+
+
+ +

+getBufferSize

+
+public int getBufferSize()
+
+
+
+
+
+
+ +

+getFileName

+
+public java.lang.String getFileName()
+
+
+
+
+
+
+ +

+getFilePicker

+
+public FilePicker getFilePicker()
+
+
+
+
+
+
+ +

+isBuffered

+
+public boolean isBuffered()
+
+
+
+
+
+
+ +

+isFileAppend

+
+public boolean isFileAppend()
+
+
+
+
+
+
+ +

+setBuffered

+
+public void setBuffered(boolean buffered)
+
+
+
+
+
+
+ +

+setBufferSize

+
+public void setBufferSize(int bufferSize)
+
+
+
+
+
+
+ +

+setFileAppend

+
+public void setFileAppend(boolean fileAppend)
+
+
+
+
+
+
+ +

+setFileName

+
+public void setFileName(java.lang.String fileName)
+
+
+
+
+
+
+ +

+setFilePicker

+
+public void setFilePicker(FilePicker filePicker)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/FileDateSizeAppender.html b/docs/darks/log/appender/impl/FileDateSizeAppender.html index 51da72e..58abc2d 100644 --- a/docs/darks/log/appender/impl/FileDateSizeAppender.html +++ b/docs/darks/log/appender/impl/FileDateSizeAppender.html @@ -1,111 +1,111 @@ - - - - - - -FileDateSizeAppender - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender.impl -
-�� FileDateSizeAppender

-
-java.lang.Object
-  �̳��� darks.log.appender.Appender
-      �̳��� darks.log.appender.impl.StreamAppender
-          �̳��� darks.log.appender.impl.FileAppender
-              �̳��� darks.log.appender.impl.FileDateSizeAppender
-
-
-
-
public class FileDateSizeAppender
extends FileAppender
- - -

+ + + + + + +FileDateSizeAppender + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender.impl +
+�� FileDateSizeAppender

+
+java.lang.Object
+  �̳��� darks.log.appender.Appender
+      �̳��� darks.log.appender.impl.StreamAppender
+          �̳��� darks.log.appender.impl.FileAppender
+              �̳��� darks.log.appender.impl.FileDateSizeAppender
+
+
+
+
public class FileDateSizeAppender
extends FileAppender
+ + +

Appender for file. The appender can keep log files in custom days(Default 7 days). If current log file's size is out of custom max size(Default 10MB), it - will create the new one. FileDateSizeAppender.java
+ will create the new one.
Example:

@@ -117,359 +117,361 @@ 

logd.appender.FILE.maxSize=10485760 logd.appender.FILE.keepDay=7

-

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
FileAppender, -StreamAppender, -Appender
-
- -

- - - - - - - -
-�ֶ�ժҪ
- - - - - - - -
���� darks.log.appender.impl.StreamAppender �̳е��ֶ�
STYPE_LOG_OBJECT, STYPE_LOG_STRING, TYPE_LOG_OBJECT, TYPE_LOG_STRING
-  - - - - - - - - - - - - - - - - - - - -
-���췽��ժҪ
FileDateSizeAppender() - -
-           
FileDateSizeAppender(LoggerLayout layout) - -
-           
FileDateSizeAppender(LoggerLayout layout, - java.io.OutputStream outStream) - -
-           
FileDateSizeAppender(java.io.OutputStream outStream) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voidactivateHandler() - -
-          The method wiil be called before first of doAppend called.
- java.io.OutputStreamexpandOutStream(java.lang.String path, - java.io.OutputStream outStream) - -
-          Expand output stream before set output stream.
- intgetKeepDay() - -
-           
- longgetMaxSize() - -
-           
- voidsetKeepDay(int keepDay) - -
-           
- voidsetMaxSize(long maxSize) - -
-           
- - - - - - - -
���� darks.log.appender.impl.FileAppender �̳еķ���
createFile, getBufferSize, getFileName, getFilePicker, isBuffered, isFileAppend, setBuffered, setBufferSize, setFileAppend, setFileName, setFilePicker
- - - - - - - -
���� darks.log.appender.impl.StreamAppender �̳еķ���
append, closeStream, getEncoding, getMsgType, getOutStream, isImmediateFlush, isLittleEndian, isWrapBytes, needPattern, setEncoding, setImmediateFlush, setLittleEndian, setMsgType, setOutStream, setWrapBytes
- - - - - - - -
���� darks.log.appender.Appender �̳еķ���
doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-FileDateSizeAppender

-
-public FileDateSizeAppender()
-
-
-
- -

-FileDateSizeAppender

-
-public FileDateSizeAppender(LoggerLayout layout)
-
-
-
- -

-FileDateSizeAppender

-
-public FileDateSizeAppender(LoggerLayout layout,
-                            java.io.OutputStream outStream)
-
-
-
- -

-FileDateSizeAppender

-
-public FileDateSizeAppender(java.io.OutputStream outStream)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-activateHandler

-
-public void activateHandler()
-
-
The method wiil be called before first of doAppend called. -

-

-
���ǣ�
�� FileAppender �е� activateHandler
-
-
-
-
-
-
- -

-expandOutStream

-
-public java.io.OutputStream expandOutStream(java.lang.String path,
-                                            java.io.OutputStream outStream)
-
-
Expand output stream before set output stream. -

-

-
���ǣ�
�� FileAppender �е� expandOutStream
-
-
-
������
path - File path
outStream - OutputStream object -
���أ�
OutputStream object after converted
-
-
-
- -

-getKeepDay

-
-public int getKeepDay()
-
-
-
-
-
-
- -

-getMaxSize

-
-public long getMaxSize()
-
-
-
-
-
-
- -

-setKeepDay

-
-public void setKeepDay(int keepDay)
-
-
-
-
-
-
- -

-setMaxSize

-
-public void setMaxSize(long maxSize)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + FileDateSizeAppender.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
FileAppender, +StreamAppender, +Appender
+
+ +

+ + + + + + + +
+�ֶ�ժҪ
+ + + + + + + +
���� darks.log.appender.impl.StreamAppender �̳е��ֶ�
STYPE_LOG_OBJECT, STYPE_LOG_STRING, TYPE_LOG_OBJECT, TYPE_LOG_STRING
+  + + + + + + + + + + + + + + + + + + + +
+���췽��ժҪ
FileDateSizeAppender() + +
+           
FileDateSizeAppender(LoggerLayout layout) + +
+           
FileDateSizeAppender(LoggerLayout layout, + java.io.OutputStream outStream) + +
+           
FileDateSizeAppender(java.io.OutputStream outStream) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voidactivateHandler() + +
+          The method will be called before first of doAppend called.
+ java.io.OutputStreamexpandOutStream(java.lang.String path, + java.io.OutputStream outStream) + +
+          Expand output stream before set output stream.
+ intgetKeepDay() + +
+           
+ longgetMaxSize() + +
+           
+ voidsetKeepDay(int keepDay) + +
+           
+ voidsetMaxSize(long maxSize) + +
+           
+ + + + + + + +
���� darks.log.appender.impl.FileAppender �̳еķ���
createFile, getBufferSize, getFileName, getFilePicker, isBuffered, isFileAppend, setBuffered, setBufferSize, setFileAppend, setFileName, setFilePicker
+ + + + + + + +
���� darks.log.appender.impl.StreamAppender �̳еķ���
append, closeStream, getEncoding, getMsgType, getOutStream, isImmediateFlush, isLittleEndian, isWrapBytes, needPattern, setEncoding, setImmediateFlush, setLittleEndian, setMsgType, setOutStream, setWrapBytes
+ + + + + + + +
���� darks.log.appender.Appender �̳еķ���
doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+FileDateSizeAppender

+
+public FileDateSizeAppender()
+
+
+
+ +

+FileDateSizeAppender

+
+public FileDateSizeAppender(LoggerLayout layout)
+
+
+
+ +

+FileDateSizeAppender

+
+public FileDateSizeAppender(LoggerLayout layout,
+                            java.io.OutputStream outStream)
+
+
+
+ +

+FileDateSizeAppender

+
+public FileDateSizeAppender(java.io.OutputStream outStream)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+activateHandler

+
+public void activateHandler()
+
+
The method will be called before first of doAppend called. +

+

+
���ǣ�
�� FileAppender �е� activateHandler
+
+
+
+
+
+
+ +

+expandOutStream

+
+public java.io.OutputStream expandOutStream(java.lang.String path,
+                                            java.io.OutputStream outStream)
+
+
Expand output stream before set output stream. +

+

+
���ǣ�
�� FileAppender �е� expandOutStream
+
+
+
������
path - File path
outStream - OutputStream object +
���أ�
OutputStream object after converted
+
+
+
+ +

+getKeepDay

+
+public int getKeepDay()
+
+
+
+
+
+
+ +

+getMaxSize

+
+public long getMaxSize()
+
+
+
+
+
+
+ +

+setKeepDay

+
+public void setKeepDay(int keepDay)
+
+
+
+
+
+
+ +

+setMaxSize

+
+public void setMaxSize(long maxSize)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/SocketAppender.html b/docs/darks/log/appender/impl/SocketAppender.html index c67d6b8..7731c10 100644 --- a/docs/darks/log/appender/impl/SocketAppender.html +++ b/docs/darks/log/appender/impl/SocketAppender.html @@ -1,107 +1,107 @@ - - - - - - -SocketAppender - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender.impl -
-�� SocketAppender

-
-java.lang.Object
-  �̳��� darks.log.appender.Appender
-      �̳��� darks.log.appender.impl.StreamAppender
-          �̳��� darks.log.appender.impl.SocketAppender
-
-
-
-
public class SocketAppender
extends StreamAppender
- - -

+ + + + + + +SocketAppender + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender.impl +
+�� SocketAppender

+
+java.lang.Object
+  �̳��� darks.log.appender.Appender
+      �̳��� darks.log.appender.impl.StreamAppender
+          �̳��� darks.log.appender.impl.SocketAppender
+
+
+
+
public class SocketAppender
extends StreamAppender
+ + +

Appender for network. The appender will send log message through TCP protocol.
Example: @@ -116,477 +116,477 @@

logd.appender.SOCKET.wrapBytes=true - SocketAppender.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
StreamAppender, -Appender
-
- -

- - - - - - - -
-�ֶ�ժҪ
- - - - - - - -
���� darks.log.appender.impl.StreamAppender �̳е��ֶ�
STYPE_LOG_OBJECT, STYPE_LOG_STRING, TYPE_LOG_OBJECT, TYPE_LOG_STRING
-  - - - - - - - - - - -
-���췽��ժҪ
SocketAppender() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voidactivateHandler() - -
-          The method wiil be called before first of doAppend called.
- voidconnect() - -
-          Connect to server
- intgetConnectTimeout() - -
-           
- intgetSendBufferSize() - -
-           
- java.lang.StringgetServerHost() - -
-           
- intgetServerPort() - -
-           
- booleanisKeepAlive() - -
-           
- booleanisTcpNoDelay() - -
-           
- booleanneedPattern() - -
-          Whether need format log message string by layout.
- voidsetConnectTimeout(int connectTimeout) - -
-           
- voidsetKeepAlive(boolean keepAlive) - -
-           
- voidsetSendBufferSize(int sendBufferSize) - -
-           
- voidsetServerHost(java.lang.String serverHost) - -
-           
- voidsetServerPort(int serverPort) - -
-           
- voidsetTcpNoDelay(boolean tcpNoDelay) - -
-           
- - - - - - - -
���� darks.log.appender.impl.StreamAppender �̳еķ���
append, closeStream, getEncoding, getMsgType, getOutStream, isImmediateFlush, isLittleEndian, isWrapBytes, setEncoding, setImmediateFlush, setLittleEndian, setMsgType, setOutStream, setWrapBytes
- - - - - - - -
���� darks.log.appender.Appender �̳еķ���
doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-SocketAppender

-
-public SocketAppender()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-activateHandler

-
-public void activateHandler()
-
-
The method wiil be called before first of doAppend called. -

-

-
���ǣ�
�� Appender �е� activateHandler
-
-
-
-
-
-
- -

-connect

-
-public void connect()
-
-
Connect to server -

-

-
-
-
-
- -

-getConnectTimeout

-
-public int getConnectTimeout()
-
-
-
-
-
-
- -

-getSendBufferSize

-
-public int getSendBufferSize()
-
-
-
-
-
-
- -

-getServerHost

-
-public java.lang.String getServerHost()
-
-
-
-
-
-
- -

-getServerPort

-
-public int getServerPort()
-
-
-
-
-
-
- -

-isKeepAlive

-
-public boolean isKeepAlive()
-
-
-
-
-
-
- -

-isTcpNoDelay

-
-public boolean isTcpNoDelay()
-
-
-
-
-
-
- -

-needPattern

-
-public boolean needPattern()
-
-
Whether need format log message string by layout. -

-

-
���ǣ�
�� StreamAppender �е� needPattern
-
-
- -
���أ�
If need, return true default.
-
-
-
- -

-setConnectTimeout

-
-public void setConnectTimeout(int connectTimeout)
-
-
-
-
-
-
- -

-setKeepAlive

-
-public void setKeepAlive(boolean keepAlive)
-
-
-
-
-
-
- -

-setSendBufferSize

-
-public void setSendBufferSize(int sendBufferSize)
-
-
-
-
-
-
- -

-setServerHost

-
-public void setServerHost(java.lang.String serverHost)
-
-
-
-
-
-
- -

-setServerPort

-
-public void setServerPort(int serverPort)
-
-
-
-
-
-
- -

-setTcpNoDelay

-
-public void setTcpNoDelay(boolean tcpNoDelay)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + SocketAppender.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
StreamAppender, +Appender
+
+ +

+ + + + + + + +
+�ֶ�ժҪ
+ + + + + + + +
���� darks.log.appender.impl.StreamAppender �̳е��ֶ�
STYPE_LOG_OBJECT, STYPE_LOG_STRING, TYPE_LOG_OBJECT, TYPE_LOG_STRING
+  + + + + + + + + + + +
+���췽��ժҪ
SocketAppender() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voidactivateHandler() + +
+          The method will be called before first of doAppend called.
+ voidconnect() + +
+          Connect to server
+ intgetConnectTimeout() + +
+           
+ intgetSendBufferSize() + +
+           
+ java.lang.StringgetServerHost() + +
+           
+ intgetServerPort() + +
+           
+ booleanisKeepAlive() + +
+           
+ booleanisTcpNoDelay() + +
+           
+ booleanneedPattern() + +
+          Whether need format log message string by layout.
+ voidsetConnectTimeout(int connectTimeout) + +
+           
+ voidsetKeepAlive(boolean keepAlive) + +
+           
+ voidsetSendBufferSize(int sendBufferSize) + +
+           
+ voidsetServerHost(java.lang.String serverHost) + +
+           
+ voidsetServerPort(int serverPort) + +
+           
+ voidsetTcpNoDelay(boolean tcpNoDelay) + +
+           
+ + + + + + + +
���� darks.log.appender.impl.StreamAppender �̳еķ���
append, closeStream, getEncoding, getMsgType, getOutStream, isImmediateFlush, isLittleEndian, isWrapBytes, setEncoding, setImmediateFlush, setLittleEndian, setMsgType, setOutStream, setWrapBytes
+ + + + + + + +
���� darks.log.appender.Appender �̳еķ���
doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+SocketAppender

+
+public SocketAppender()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+activateHandler

+
+public void activateHandler()
+
+
The method will be called before first of doAppend called. +

+

+
���ǣ�
�� Appender �е� activateHandler
+
+
+
+
+
+
+ +

+connect

+
+public void connect()
+
+
Connect to server +

+

+
+
+
+
+ +

+getConnectTimeout

+
+public int getConnectTimeout()
+
+
+
+
+
+
+ +

+getSendBufferSize

+
+public int getSendBufferSize()
+
+
+
+
+
+
+ +

+getServerHost

+
+public java.lang.String getServerHost()
+
+
+
+
+
+
+ +

+getServerPort

+
+public int getServerPort()
+
+
+
+
+
+
+ +

+isKeepAlive

+
+public boolean isKeepAlive()
+
+
+
+
+
+
+ +

+isTcpNoDelay

+
+public boolean isTcpNoDelay()
+
+
+
+
+
+
+ +

+needPattern

+
+public boolean needPattern()
+
+
Whether need format log message string by layout. +

+

+
���ǣ�
�� StreamAppender �е� needPattern
+
+
+ +
���أ�
If need, return true default.
+
+
+
+ +

+setConnectTimeout

+
+public void setConnectTimeout(int connectTimeout)
+
+
+
+
+
+
+ +

+setKeepAlive

+
+public void setKeepAlive(boolean keepAlive)
+
+
+
+
+
+
+ +

+setSendBufferSize

+
+public void setSendBufferSize(int sendBufferSize)
+
+
+
+
+
+
+ +

+setServerHost

+
+public void setServerHost(java.lang.String serverHost)
+
+
+
+
+
+
+ +

+setServerPort

+
+public void setServerPort(int serverPort)
+
+
+
+
+
+
+ +

+setTcpNoDelay

+
+public void setTcpNoDelay(boolean tcpNoDelay)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/SqliteAppender.html b/docs/darks/log/appender/impl/SqliteAppender.html index 355645f..7b987cd 100644 --- a/docs/darks/log/appender/impl/SqliteAppender.html +++ b/docs/darks/log/appender/impl/SqliteAppender.html @@ -1,298 +1,298 @@ - - - - - - -SqliteAppender - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender.impl -
-�� SqliteAppender

-
-java.lang.Object
-  �̳��� darks.log.appender.Appender
-      �̳��� darks.log.appender.impl.SqliteAppender
-
-
-
-
public class SqliteAppender
extends Appender
- - -

-


- -

- - - - - - - - - - - -
-���췽��ժҪ
SqliteAppender() - -
-           
-  - - - - - - - - - - - - - - - -
-����ժҪ
- voidappend(LogMessage msg, - java.lang.String log) - -
-          Append log message
- booleanneedPattern() - -
-          Whether need format log message string by layout.
- - - - - - - -
���� darks.log.appender.Appender �̳еķ���
activateHandler, doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-SqliteAppender

-
-public SqliteAppender()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-append

-
-public void append(LogMessage msg,
-                   java.lang.String log)
-            throws java.lang.Exception
-
-
���� Appender ���Ƶ�����
-
Append log message -

-

-
ָ���ߣ�
�� Appender �е� append
-
-
-
������
msg - Log message
log - if needPattern() return true, log wiil be formatted by layout. - Otherwise return LogMessage.message -
�׳��� -
java.lang.Exception - Exception information
-
-
-
- -

-needPattern

-
-public boolean needPattern()
-
-
���� Appender ���Ƶ�����
-
Whether need format log message string by layout. -

-

-
ָ���ߣ�
�� Appender �е� needPattern
-
-
- -
���أ�
If need, return true default.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +SqliteAppender + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender.impl +
+�� SqliteAppender

+
+java.lang.Object
+  �̳��� darks.log.appender.Appender
+      �̳��� darks.log.appender.impl.SqliteAppender
+
+
+
+
public class SqliteAppender
extends Appender
+ + +

+


+ +

+ + + + + + + + + + + +
+���췽��ժҪ
SqliteAppender() + +
+           
+  + + + + + + + + + + + + + + + +
+����ժҪ
+ voidappend(LogMessage msg, + java.lang.String log) + +
+          Append log message
+ booleanneedPattern() + +
+          Whether need format log message string by layout.
+ + + + + + + +
���� darks.log.appender.Appender �̳еķ���
activateHandler, doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+SqliteAppender

+
+public SqliteAppender()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+append

+
+public void append(LogMessage msg,
+                   java.lang.String log)
+            throws java.lang.Exception
+
+
���� Appender ���Ƶ�����
+
Append log message +

+

+
ָ���ߣ�
�� Appender �е� append
+
+
+
������
msg - Log message
log - if needPattern() return true, log will be formatted by layout. + Otherwise return LogMessage.message +
�׳��� +
java.lang.Exception - Exception information
+
+
+
+ +

+needPattern

+
+public boolean needPattern()
+
+
���� Appender ���Ƶ�����
+
Whether need format log message string by layout. +

+

+
ָ���ߣ�
�� Appender �е� needPattern
+
+
+ +
���أ�
If need, return true default.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/StreamAppender.html b/docs/darks/log/appender/impl/StreamAppender.html index 36b65ff..0d239ac 100644 --- a/docs/darks/log/appender/impl/StreamAppender.html +++ b/docs/darks/log/appender/impl/StreamAppender.html @@ -1,110 +1,110 @@ - - - - - - -StreamAppender - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender.impl -
-�� StreamAppender

-
-java.lang.Object
-  �̳��� darks.log.appender.Appender
-      �̳��� darks.log.appender.impl.StreamAppender
-
-
-
ֱ����֪���ࣺ
FileAppender, SocketAppender
-
-
-
-
public class StreamAppender
extends Appender
- - -

-Appender for stream. The appender wiil output log message to stream. You + + + + + + +StreamAppender + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender.impl +
+�� StreamAppender

+
+java.lang.Object
+  �̳��� darks.log.appender.Appender
+      �̳��� darks.log.appender.impl.StreamAppender
+
+
+
ֱ����֪���ࣺ
FileAppender, SocketAppender
+
+
+
+
public class StreamAppender
extends Appender
+ + +

+Appender for stream. The appender will output log message to stream. You cannot use StreamAppender directly in logd.properties.
Example: @@ -125,591 +125,591 @@

} - StreamAppender.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
Appender
-
- -

- - - - - - - - - - - - - - - - - - - - - - - -
-�ֶ�ժҪ
-static java.lang.StringSTYPE_LOG_OBJECT - -
-           
-static java.lang.StringSTYPE_LOG_STRING - -
-           
-static intTYPE_LOG_OBJECT - -
-          Write log message object with pattern if you have setted 'needPattern'
-static intTYPE_LOG_STRING - -
-          Write log string to stream
-  - - - - - - - - - - - - - - - - - - - -
-���췽��ժҪ
StreamAppender() - -
-           
StreamAppender(LoggerLayout layout) - -
-           
StreamAppender(LoggerLayout layout, - java.io.OutputStream outStream) - -
-           
StreamAppender(java.io.OutputStream outStream) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voidappend(LogMessage msg, - java.lang.String log) - -
-          Append log message
- voidcloseStream() - -
-           
- java.lang.StringgetEncoding() - -
-           
- intgetMsgType() - -
-           
- java.io.OutputStreamgetOutStream() - -
-           
- booleanisImmediateFlush() - -
-           
- booleanisLittleEndian() - -
-           
- booleanisWrapBytes() - -
-           
- booleanneedPattern() - -
-          Whether need format log message string by layout.
- voidsetEncoding(java.lang.String encoding) - -
-           
- voidsetImmediateFlush(boolean immediateFlush) - -
-           
- voidsetLittleEndian(boolean littleEndian) - -
-           
- voidsetMsgType(java.lang.String strMsgType) - -
-           
- voidsetOutStream(java.io.OutputStream outStream) - -
-           
- voidsetWrapBytes(boolean wrapBytes) - -
-           
- - - - - - - -
���� darks.log.appender.Appender �̳еķ���
activateHandler, doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-�ֶ���ϸ��Ϣ
- -

-STYPE_LOG_OBJECT

-
-public static final java.lang.String STYPE_LOG_OBJECT
-
-
-
������
�����ֶ�ֵ
-
-
- -

-STYPE_LOG_STRING

-
-public static final java.lang.String STYPE_LOG_STRING
-
-
-
������
�����ֶ�ֵ
-
-
- -

-TYPE_LOG_OBJECT

-
-public static final int TYPE_LOG_OBJECT
-
-
Write log message object with pattern if you have setted 'needPattern' -

-

-
������
�����ֶ�ֵ
-
-
- -

-TYPE_LOG_STRING

-
-public static final int TYPE_LOG_STRING
-
-
Write log string to stream -

-

-
������
�����ֶ�ֵ
-
- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-StreamAppender

-
-public StreamAppender()
-
-
-
- -

-StreamAppender

-
-public StreamAppender(LoggerLayout layout)
-
-
-
- -

-StreamAppender

-
-public StreamAppender(LoggerLayout layout,
-                      java.io.OutputStream outStream)
-
-
-
- -

-StreamAppender

-
-public StreamAppender(java.io.OutputStream outStream)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-append

-
-public void append(LogMessage msg,
-                   java.lang.String log)
-            throws java.lang.Exception
-
-
Append log message -

-

-
ָ���ߣ�
�� Appender �е� append
-
-
-
������
msg - Log message
log - if needPattern() return true, log wiil be formatted by layout. - Otherwise return LogMessage.message -
�׳��� -
java.lang.Exception - Exception information
-
-
-
- -

-closeStream

-
-public void closeStream()
-
-
-
-
-
-
- -

-getEncoding

-
-public java.lang.String getEncoding()
-
-
-
-
-
-
- -

-getMsgType

-
-public int getMsgType()
-
-
-
-
-
-
- -

-getOutStream

-
-public java.io.OutputStream getOutStream()
-
-
-
-
-
-
- -

-isImmediateFlush

-
-public boolean isImmediateFlush()
-
-
-
-
-
-
- -

-isLittleEndian

-
-public boolean isLittleEndian()
-
-
-
-
-
-
- -

-isWrapBytes

-
-public boolean isWrapBytes()
-
-
-
-
-
-
- -

-needPattern

-
-public boolean needPattern()
-
-
Whether need format log message string by layout. -

-

-
ָ���ߣ�
�� Appender �е� needPattern
-
-
- -
���أ�
If need, return true default.
-
-
-
- -

-setEncoding

-
-public void setEncoding(java.lang.String encoding)
-
-
-
-
-
-
- -

-setImmediateFlush

-
-public void setImmediateFlush(boolean immediateFlush)
-
-
-
-
-
-
- -

-setLittleEndian

-
-public void setLittleEndian(boolean littleEndian)
-
-
-
-
-
-
- -

-setMsgType

-
-public void setMsgType(java.lang.String strMsgType)
-
-
-
-
-
-
- -

-setOutStream

-
-public void setOutStream(java.io.OutputStream outStream)
-
-
-
-
-
-
- -

-setWrapBytes

-
-public void setWrapBytes(boolean wrapBytes)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + StreamAppender.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
Appender
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + +
+�ֶ�ժҪ
+static java.lang.StringSTYPE_LOG_OBJECT + +
+           
+static java.lang.StringSTYPE_LOG_STRING + +
+           
+static intTYPE_LOG_OBJECT + +
+          Write log message object with pattern if you have setted 'needPattern'
+static intTYPE_LOG_STRING + +
+          Write log string to stream
+  + + + + + + + + + + + + + + + + + + + +
+���췽��ժҪ
StreamAppender() + +
+           
StreamAppender(LoggerLayout layout) + +
+           
StreamAppender(LoggerLayout layout, + java.io.OutputStream outStream) + +
+           
StreamAppender(java.io.OutputStream outStream) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voidappend(LogMessage msg, + java.lang.String log) + +
+          Append log message
+ voidcloseStream() + +
+           
+ java.lang.StringgetEncoding() + +
+           
+ intgetMsgType() + +
+           
+ java.io.OutputStreamgetOutStream() + +
+           
+ booleanisImmediateFlush() + +
+           
+ booleanisLittleEndian() + +
+           
+ booleanisWrapBytes() + +
+           
+ booleanneedPattern() + +
+          Whether need format log message string by layout.
+ voidsetEncoding(java.lang.String encoding) + +
+           
+ voidsetImmediateFlush(boolean immediateFlush) + +
+           
+ voidsetLittleEndian(boolean littleEndian) + +
+           
+ voidsetMsgType(java.lang.String strMsgType) + +
+           
+ voidsetOutStream(java.io.OutputStream outStream) + +
+           
+ voidsetWrapBytes(boolean wrapBytes) + +
+           
+ + + + + + + +
���� darks.log.appender.Appender �̳еķ���
activateHandler, doAppend, getFilter, getLayout, getName, getThrowMessage, isAsync, setAsync, setFilter, setLayout, setName
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+�ֶ���ϸ��Ϣ
+ +

+STYPE_LOG_OBJECT

+
+public static final java.lang.String STYPE_LOG_OBJECT
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+STYPE_LOG_STRING

+
+public static final java.lang.String STYPE_LOG_STRING
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+TYPE_LOG_OBJECT

+
+public static final int TYPE_LOG_OBJECT
+
+
Write log message object with pattern if you have setted 'needPattern' +

+

+
������
�����ֶ�ֵ
+
+
+ +

+TYPE_LOG_STRING

+
+public static final int TYPE_LOG_STRING
+
+
Write log string to stream +

+

+
������
�����ֶ�ֵ
+
+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+StreamAppender

+
+public StreamAppender()
+
+
+
+ +

+StreamAppender

+
+public StreamAppender(LoggerLayout layout)
+
+
+
+ +

+StreamAppender

+
+public StreamAppender(LoggerLayout layout,
+                      java.io.OutputStream outStream)
+
+
+
+ +

+StreamAppender

+
+public StreamAppender(java.io.OutputStream outStream)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+append

+
+public void append(LogMessage msg,
+                   java.lang.String log)
+            throws java.lang.Exception
+
+
Append log message +

+

+
ָ���ߣ�
�� Appender �е� append
+
+
+
������
msg - Log message
log - if needPattern() return true, log will be formatted by layout. + Otherwise return LogMessage.message +
�׳��� +
java.lang.Exception - Exception information
+
+
+
+ +

+closeStream

+
+public void closeStream()
+
+
+
+
+
+
+ +

+getEncoding

+
+public java.lang.String getEncoding()
+
+
+
+
+
+
+ +

+getMsgType

+
+public int getMsgType()
+
+
+
+
+
+
+ +

+getOutStream

+
+public java.io.OutputStream getOutStream()
+
+
+
+
+
+
+ +

+isImmediateFlush

+
+public boolean isImmediateFlush()
+
+
+
+
+
+
+ +

+isLittleEndian

+
+public boolean isLittleEndian()
+
+
+
+
+
+
+ +

+isWrapBytes

+
+public boolean isWrapBytes()
+
+
+
+
+
+
+ +

+needPattern

+
+public boolean needPattern()
+
+
Whether need format log message string by layout. +

+

+
ָ���ߣ�
�� Appender �е� needPattern
+
+
+ +
���أ�
If need, return true default.
+
+
+
+ +

+setEncoding

+
+public void setEncoding(java.lang.String encoding)
+
+
+
+
+
+
+ +

+setImmediateFlush

+
+public void setImmediateFlush(boolean immediateFlush)
+
+
+
+
+
+
+ +

+setLittleEndian

+
+public void setLittleEndian(boolean littleEndian)
+
+
+
+
+
+
+ +

+setMsgType

+
+public void setMsgType(java.lang.String strMsgType)
+
+
+
+
+
+
+ +

+setOutStream

+
+public void setOutStream(java.io.OutputStream outStream)
+
+
+
+
+
+
+ +

+setWrapBytes

+
+public void setWrapBytes(boolean wrapBytes)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/class-use/AndroidAppender.html b/docs/darks/log/appender/impl/class-use/AndroidAppender.html index 5e87b30..a09e8e4 100644 --- a/docs/darks/log/appender/impl/class-use/AndroidAppender.html +++ b/docs/darks/log/appender/impl/class-use/AndroidAppender.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.appender.impl.AndroidAppender ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.impl.AndroidAppender
��ʹ��

-
-û�� darks.log.appender.impl.AndroidAppender ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.impl.AndroidAppender ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.impl.AndroidAppender
��ʹ��

+
+û�� darks.log.appender.impl.AndroidAppender ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/class-use/ConsoleAppender.html b/docs/darks/log/appender/impl/class-use/ConsoleAppender.html index 41dcc33..677d65c 100644 --- a/docs/darks/log/appender/impl/class-use/ConsoleAppender.html +++ b/docs/darks/log/appender/impl/class-use/ConsoleAppender.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.appender.impl.ConsoleAppender ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.impl.ConsoleAppender
��ʹ��

-
-û�� darks.log.appender.impl.ConsoleAppender ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.impl.ConsoleAppender ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.impl.ConsoleAppender
��ʹ��

+
+û�� darks.log.appender.impl.ConsoleAppender ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/class-use/FileAppender.html b/docs/darks/log/appender/impl/class-use/FileAppender.html index f1a7cda..80730a3 100644 --- a/docs/darks/log/appender/impl/class-use/FileAppender.html +++ b/docs/darks/log/appender/impl/class-use/FileAppender.html @@ -1,178 +1,178 @@ - - - - - - -�� darks.log.appender.impl.FileAppender ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.impl.FileAppender
��ʹ��

-
- - - - - - - - - -
-ʹ�� FileAppender ��������
darks.log.appender.impl  
-  -

- - - - - -
-darks.log.appender.impl �� FileAppender ��ʹ��
-  -

- - - - - - - - - -
darks.log.appender.impl �� FileAppender ������
- classFileDateSizeAppender - -
-          Appender for file.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.impl.FileAppender ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.impl.FileAppender
��ʹ��

+
+ + + + + + + + + +
+ʹ�� FileAppender ��������
darks.log.appender.impl  
+  +

+ + + + + +
+darks.log.appender.impl �� FileAppender ��ʹ��
+  +

+ + + + + + + + + +
darks.log.appender.impl �� FileAppender ������
+ classFileDateSizeAppender + +
+          Appender for file.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/class-use/FileDateSizeAppender.html b/docs/darks/log/appender/impl/class-use/FileDateSizeAppender.html index 389b3cc..1dc204d 100644 --- a/docs/darks/log/appender/impl/class-use/FileDateSizeAppender.html +++ b/docs/darks/log/appender/impl/class-use/FileDateSizeAppender.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.appender.impl.FileDateSizeAppender ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.impl.FileDateSizeAppender
��ʹ��

-
-û�� darks.log.appender.impl.FileDateSizeAppender ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.impl.FileDateSizeAppender ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.impl.FileDateSizeAppender
��ʹ��

+
+û�� darks.log.appender.impl.FileDateSizeAppender ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/class-use/SocketAppender.html b/docs/darks/log/appender/impl/class-use/SocketAppender.html index 3a438e5..3d6b16a 100644 --- a/docs/darks/log/appender/impl/class-use/SocketAppender.html +++ b/docs/darks/log/appender/impl/class-use/SocketAppender.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.appender.impl.SocketAppender ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.impl.SocketAppender
��ʹ��

-
-û�� darks.log.appender.impl.SocketAppender ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.impl.SocketAppender ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.impl.SocketAppender
��ʹ��

+
+û�� darks.log.appender.impl.SocketAppender ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/class-use/SqliteAppender.html b/docs/darks/log/appender/impl/class-use/SqliteAppender.html index f670cfd..d3516da 100644 --- a/docs/darks/log/appender/impl/class-use/SqliteAppender.html +++ b/docs/darks/log/appender/impl/class-use/SqliteAppender.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.appender.impl.SqliteAppender ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.impl.SqliteAppender
��ʹ��

-
-û�� darks.log.appender.impl.SqliteAppender ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.impl.SqliteAppender ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.impl.SqliteAppender
��ʹ��

+
+û�� darks.log.appender.impl.SqliteAppender ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/class-use/StreamAppender.html b/docs/darks/log/appender/impl/class-use/StreamAppender.html index bb11700..dd56684 100644 --- a/docs/darks/log/appender/impl/class-use/StreamAppender.html +++ b/docs/darks/log/appender/impl/class-use/StreamAppender.html @@ -1,194 +1,194 @@ - - - - - - -�� darks.log.appender.impl.StreamAppender ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.impl.StreamAppender
��ʹ��

-
- - - - - - - - - -
-ʹ�� StreamAppender ��������
darks.log.appender.impl  
-  -

- - - - - -
-darks.log.appender.impl �� StreamAppender ��ʹ��
-  -

- - - - - - - - - - - - - - - - - -
darks.log.appender.impl �� StreamAppender ������
- classFileAppender - -
-          Appender for file.
- classFileDateSizeAppender - -
-          Appender for file.
- classSocketAppender - -
-          Appender for network.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.impl.StreamAppender ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.impl.StreamAppender
��ʹ��

+
+ + + + + + + + + +
+ʹ�� StreamAppender ��������
darks.log.appender.impl  
+  +

+ + + + + +
+darks.log.appender.impl �� StreamAppender ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + +
darks.log.appender.impl �� StreamAppender ������
+ classFileAppender + +
+          Appender for file.
+ classFileDateSizeAppender + +
+          Appender for file.
+ classSocketAppender + +
+          Appender for network.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/package-frame.html b/docs/darks/log/appender/impl/package-frame.html index ae1bbf8..36fafe5 100644 --- a/docs/darks/log/appender/impl/package-frame.html +++ b/docs/darks/log/appender/impl/package-frame.html @@ -1,44 +1,44 @@ - - - - - - -darks.log.appender.impl - - - - - - - - - - - -darks.log.appender.impl - - - - -
-��  - -
-AndroidAppender -
-ConsoleAppender -
-FileAppender -
-FileDateSizeAppender -
-SocketAppender -
-SqliteAppender -
-StreamAppender
- - - - + + + + + + +darks.log.appender.impl + + + + + + + + + + + +darks.log.appender.impl + + + + +
+��  + +
+AndroidAppender +
+ConsoleAppender +
+FileAppender +
+FileDateSizeAppender +
+SocketAppender +
+SqliteAppender +
+StreamAppender
+ + + + diff --git a/docs/darks/log/appender/impl/package-summary.html b/docs/darks/log/appender/impl/package-summary.html index 677eebd..9d6ed05 100644 --- a/docs/darks/log/appender/impl/package-summary.html +++ b/docs/darks/log/appender/impl/package-summary.html @@ -1,179 +1,179 @@ - - - - - - -darks.log.appender.impl - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.appender.impl -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-��ժҪ
AndroidAppenderAppender for android.
ConsoleAppenderAppender for system console.
FileAppenderAppender for file.
FileDateSizeAppenderAppender for file.
SocketAppenderAppender for network.
SqliteAppender 
StreamAppenderAppender for stream.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.appender.impl + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.appender.impl +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+��ժҪ
AndroidAppenderAppender for android.
ConsoleAppenderAppender for system console.
FileAppenderAppender for file.
FileDateSizeAppenderAppender for file.
SocketAppenderAppender for network.
SqliteAppender 
StreamAppenderAppender for stream.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/package-tree.html b/docs/darks/log/appender/impl/package-tree.html index 40da69b..b847b07 100644 --- a/docs/darks/log/appender/impl/package-tree.html +++ b/docs/darks/log/appender/impl/package-tree.html @@ -1,157 +1,157 @@ - - - - - - -darks.log.appender.impl ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.appender.impl �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.appender.impl ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.appender.impl �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/impl/package-use.html b/docs/darks/log/appender/impl/package-use.html index 747121b..2fd4eef 100644 --- a/docs/darks/log/appender/impl/package-use.html +++ b/docs/darks/log/appender/impl/package-use.html @@ -1,174 +1,174 @@ - - - - - - -������ darks.log.appender.impl ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.appender.impl
��ʹ��

-
- - - - - - - - - -
-ʹ�� darks.log.appender.impl ��������
darks.log.appender.impl  
-  -

- - - - - - - - - - - -
-darks.log.appender.impl ʹ�õ� darks.log.appender.impl �е���
FileAppender - -
-          Appender for file.
StreamAppender - -
-          Appender for stream.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.appender.impl ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.appender.impl
��ʹ��

+
+ + + + + + + + + +
+ʹ�� darks.log.appender.impl ��������
darks.log.appender.impl  
+  +

+ + + + + + + + + + + +
+darks.log.appender.impl ʹ�õ� darks.log.appender.impl �е���
FileAppender + +
+          Appender for file.
StreamAppender + +
+          Appender for stream.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/io/RecordOutputStream.html b/docs/darks/log/appender/io/RecordOutputStream.html index f23af90..aaa94b5 100644 --- a/docs/darks/log/appender/io/RecordOutputStream.html +++ b/docs/darks/log/appender/io/RecordOutputStream.html @@ -1,421 +1,421 @@ - - - - - - -RecordOutputStream - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.appender.io -
-�� RecordOutputStream

-
-java.lang.Object
-  �̳��� java.io.OutputStream
-      �̳��� darks.log.appender.io.RecordOutputStream
-
-
-
������ʵ�ֵĽӿڣ�
java.io.Closeable, java.io.Flushable
-
-
-
-
public class RecordOutputStream
extends java.io.OutputStream
- - -

+ + + + + + +RecordOutputStream + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.appender.io +
+�� RecordOutputStream

+
+java.lang.Object
+  �̳��� java.io.OutputStream
+      �̳��� darks.log.appender.io.RecordOutputStream
+
+
+
������ʵ�ֵĽӿڣ�
java.io.Closeable, java.io.Flushable
+
+
+
+
public class RecordOutputStream
extends java.io.OutputStream
+ + +

The stream will wrap normal output stream to record file bytes size. - RecordOutputStream.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - -
-���췽��ժҪ
RecordOutputStream(java.io.OutputStream out) - -
-           
RecordOutputStream(java.io.OutputStream out, - long initSize) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voidclose() - -
-          
- voidflush() - -
-          
- longgetCount() - -
-           
- voidwrite(byte[] b) - -
-          
- voidwrite(byte[] b, - int off, - int len) - -
-          
- voidwrite(int b) - -
-          
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-RecordOutputStream

-
-public RecordOutputStream(java.io.OutputStream out)
-
-
-
- -

-RecordOutputStream

-
-public RecordOutputStream(java.io.OutputStream out,
-                          long initSize)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-close

-
-public void close()
-           throws java.io.IOException
-
-
-

-

-
ָ���ߣ�
�ӿ� java.io.Closeable �е� close
���ǣ�
�� java.io.OutputStream �е� close
-
-
- -
�׳��� -
java.io.IOException
-
-
-
- -

-flush

-
-public void flush()
-           throws java.io.IOException
-
-
-

-

-
ָ���ߣ�
�ӿ� java.io.Flushable �е� flush
���ǣ�
�� java.io.OutputStream �е� flush
-
-
- -
�׳��� -
java.io.IOException
-
-
-
- -

-getCount

-
-public long getCount()
-
-
-
-
-
-
- -

-write

-
-public void write(byte[] b)
-           throws java.io.IOException
-
-
-

-

-
���ǣ�
�� java.io.OutputStream �е� write
-
-
- -
�׳��� -
java.io.IOException
-
-
-
- -

-write

-
-public void write(byte[] b,
-                  int off,
-                  int len)
-           throws java.io.IOException
-
-
-

-

-
���ǣ�
�� java.io.OutputStream �е� write
-
-
- -
�׳��� -
java.io.IOException
-
-
-
- -

-write

-
-public void write(int b)
-           throws java.io.IOException
-
-
-

-

-
ָ���ߣ�
�� java.io.OutputStream �е� write
-
-
- -
�׳��� -
java.io.IOException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + RecordOutputStream.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + +
+���췽��ժҪ
RecordOutputStream(java.io.OutputStream out) + +
+           
RecordOutputStream(java.io.OutputStream out, + long initSize) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voidclose() + +
+          
+ voidflush() + +
+          
+ longgetCount() + +
+           
+ voidwrite(byte[] b) + +
+          
+ voidwrite(byte[] b, + int off, + int len) + +
+          
+ voidwrite(int b) + +
+          
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+RecordOutputStream

+
+public RecordOutputStream(java.io.OutputStream out)
+
+
+
+ +

+RecordOutputStream

+
+public RecordOutputStream(java.io.OutputStream out,
+                          long initSize)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+close

+
+public void close()
+           throws java.io.IOException
+
+
+

+

+
ָ���ߣ�
�ӿ� java.io.Closeable �е� close
���ǣ�
�� java.io.OutputStream �е� close
+
+
+ +
�׳��� +
java.io.IOException
+
+
+
+ +

+flush

+
+public void flush()
+           throws java.io.IOException
+
+
+

+

+
ָ���ߣ�
�ӿ� java.io.Flushable �е� flush
���ǣ�
�� java.io.OutputStream �е� flush
+
+
+ +
�׳��� +
java.io.IOException
+
+
+
+ +

+getCount

+
+public long getCount()
+
+
+
+
+
+
+ +

+write

+
+public void write(byte[] b)
+           throws java.io.IOException
+
+
+

+

+
���ǣ�
�� java.io.OutputStream �е� write
+
+
+ +
�׳��� +
java.io.IOException
+
+
+
+ +

+write

+
+public void write(byte[] b,
+                  int off,
+                  int len)
+           throws java.io.IOException
+
+
+

+

+
���ǣ�
�� java.io.OutputStream �е� write
+
+
+ +
�׳��� +
java.io.IOException
+
+
+
+ +

+write

+
+public void write(int b)
+           throws java.io.IOException
+
+
+

+

+
ָ���ߣ�
�� java.io.OutputStream �е� write
+
+
+ +
�׳��� +
java.io.IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/io/class-use/RecordOutputStream.html b/docs/darks/log/appender/io/class-use/RecordOutputStream.html index 2bba646..7b59d9f 100644 --- a/docs/darks/log/appender/io/class-use/RecordOutputStream.html +++ b/docs/darks/log/appender/io/class-use/RecordOutputStream.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.appender.io.RecordOutputStream ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.appender.io.RecordOutputStream
��ʹ��

-
-û�� darks.log.appender.io.RecordOutputStream ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.appender.io.RecordOutputStream ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.appender.io.RecordOutputStream
��ʹ��

+
+û�� darks.log.appender.io.RecordOutputStream ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/io/package-frame.html b/docs/darks/log/appender/io/package-frame.html index 463e513..6cc8f3b 100644 --- a/docs/darks/log/appender/io/package-frame.html +++ b/docs/darks/log/appender/io/package-frame.html @@ -1,32 +1,32 @@ - - - - - - -darks.log.appender.io - - - - - - - - - - - -darks.log.appender.io - - - - -
-��  - -
-RecordOutputStream
- - - - + + + + + + +darks.log.appender.io + + + + + + + + + + + +darks.log.appender.io + + + + +
+��  + +
+RecordOutputStream
+ + + + diff --git a/docs/darks/log/appender/io/package-summary.html b/docs/darks/log/appender/io/package-summary.html index ccba65b..db90046 100644 --- a/docs/darks/log/appender/io/package-summary.html +++ b/docs/darks/log/appender/io/package-summary.html @@ -1,155 +1,155 @@ - - - - - - -darks.log.appender.io - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.appender.io -

- - - - - - - - - -
-��ժҪ
RecordOutputStreamThe stream will wrap normal output stream to record file bytes size.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.appender.io + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.appender.io +

+ + + + + + + + + +
+��ժҪ
RecordOutputStreamThe stream will wrap normal output stream to record file bytes size.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/io/package-tree.html b/docs/darks/log/appender/io/package-tree.html index 86387b1..1f79222 100644 --- a/docs/darks/log/appender/io/package-tree.html +++ b/docs/darks/log/appender/io/package-tree.html @@ -1,154 +1,154 @@ - - - - - - -darks.log.appender.io ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.appender.io �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

-
    -
  • java.lang.Object
      -
    • java.io.OutputStream (implements java.io.Closeable, java.io.Flushable) - -
    -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.appender.io ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.appender.io �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+
    +
  • java.lang.Object
      +
    • java.io.OutputStream (implements java.io.Closeable, java.io.Flushable) + +
    +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/io/package-use.html b/docs/darks/log/appender/io/package-use.html index 1e0ea70..13e8d40 100644 --- a/docs/darks/log/appender/io/package-use.html +++ b/docs/darks/log/appender/io/package-use.html @@ -1,142 +1,142 @@ - - - - - - -������ darks.log.appender.io ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.appender.io
��ʹ��

-
-û�� darks.log.appender.io ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.appender.io ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.appender.io
��ʹ��

+
+û�� darks.log.appender.io ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/package-frame.html b/docs/darks/log/appender/package-frame.html index fb5c039..797aa2c 100644 --- a/docs/darks/log/appender/package-frame.html +++ b/docs/darks/log/appender/package-frame.html @@ -1,34 +1,34 @@ - - - - - - -darks.log.appender - - - - - - - - - - - -darks.log.appender - - - - -
-��  - -
-Appender -
-AppenderManager
- - - - + + + + + + +darks.log.appender + + + + + + + + + + + +darks.log.appender + + + + +
+��  + +
+Appender +
+AppenderManager
+ + + + diff --git a/docs/darks/log/appender/package-summary.html b/docs/darks/log/appender/package-summary.html index 3fd7f7f..cb3897d 100644 --- a/docs/darks/log/appender/package-summary.html +++ b/docs/darks/log/appender/package-summary.html @@ -1,159 +1,159 @@ - - - - - - -darks.log.appender - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.appender -

- - - - - - - - - - - - - -
-��ժҪ
AppenderAppender interface for Custom log output.
AppenderManagerIndicate to manage appenders Appender.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.appender + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.appender +

+ + + + + + + + + + + + + +
+��ժҪ
AppenderAppender interface for Custom log output.
AppenderManagerIndicate to manage appenders Appender.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/package-tree.html b/docs/darks/log/appender/package-tree.html index 98e89ea..10b66de 100644 --- a/docs/darks/log/appender/package-tree.html +++ b/docs/darks/log/appender/package-tree.html @@ -1,151 +1,151 @@ - - - - - - -darks.log.appender ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.appender �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.appender ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.appender �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/appender/package-use.html b/docs/darks/log/appender/package-use.html index 4b8ca56..78810f3 100644 --- a/docs/darks/log/appender/package-use.html +++ b/docs/darks/log/appender/package-use.html @@ -1,206 +1,206 @@ - - - - - - -������ darks.log.appender ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.appender
��ʹ��

-
- - - - - - - - - - - - - - - - - -
-ʹ�� darks.log.appender ��������
darks.log  
darks.log.appender  
darks.log.appender.impl  
-  -

- - - - - - - - -
-darks.log ʹ�õ� darks.log.appender �е���
Appender - -
-          Appender interface for Custom log output.
-  -

- - - - - - - - -
-darks.log.appender ʹ�õ� darks.log.appender �е���
Appender - -
-          Appender interface for Custom log output.
-  -

- - - - - - - - -
-darks.log.appender.impl ʹ�õ� darks.log.appender �е���
Appender - -
-          Appender interface for Custom log output.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.appender ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.appender
��ʹ��

+
+ + + + + + + + + + + + + + + + + +
+ʹ�� darks.log.appender ��������
darks.log  
darks.log.appender  
darks.log.appender.impl  
+  +

+ + + + + + + + +
+darks.log ʹ�õ� darks.log.appender �е���
Appender + +
+          Appender interface for Custom log output.
+  +

+ + + + + + + + +
+darks.log.appender ʹ�õ� darks.log.appender �е���
Appender + +
+          Appender interface for Custom log output.
+  +

+ + + + + + + + +
+darks.log.appender.impl ʹ�õ� darks.log.appender �е���
Appender + +
+          Appender interface for Custom log output.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/AndroidConfig.html b/docs/darks/log/class-use/AndroidConfig.html index 5d7d453..e373af4 100644 --- a/docs/darks/log/class-use/AndroidConfig.html +++ b/docs/darks/log/class-use/AndroidConfig.html @@ -1,178 +1,178 @@ - - - - - - -�� darks.log.AndroidConfig ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.AndroidConfig
��ʹ��

-
- - - - - - - - - -
-ʹ�� AndroidConfig ��������
darks.log  
-  -

- - - - - -
-darks.log �� AndroidConfig ��ʹ��
-  -

- - - - - - - - - -
����Ϊ AndroidConfig �� darks.log �е��ֶ�
-static AndroidConfigLogger.Android - -
-          Android configration
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.AndroidConfig ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.AndroidConfig
��ʹ��

+
+ + + + + + + + + +
+ʹ�� AndroidConfig ��������
darks.log  
+  +

+ + + + + +
+darks.log �� AndroidConfig ��ʹ��
+  +

+ + + + + + + + + +
����Ϊ AndroidConfig �� darks.log �е��ֶ�
+static AndroidConfigLogger.Android + +
+          Android configration
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/Category.html b/docs/darks/log/class-use/Category.html index 8ac0310..710e412 100644 --- a/docs/darks/log/class-use/Category.html +++ b/docs/darks/log/class-use/Category.html @@ -1,279 +1,279 @@ - - - - - - -�� darks.log.Category ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.Category
��ʹ��

-
- - - - - - - - - -
-ʹ�� Category ��������
darks.log  
-  -

- - - - - -
-darks.log �� Category ��ʹ��
-  -

- - - - - - - - - - - - - - - - - - - - - -
���� Category �� darks.log �еķ���
- CategoryLogMessage.getCategory() - -
-           
- CategoryLoggerConfig.getCategory(java.lang.String name) - -
-           
- CategoryCategory.getParent() - -
-           
- CategoryLoggerConfig.getRoot() - -
-           
-  -

- - - - - - - - - -
���ر�������Ϊ Category �����͵� darks.log �еķ���
- java.util.Map<java.lang.String,Category>LoggerConfig.getCategories() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
��������Ϊ Category �� darks.log �еķ���
- voidLoggerConfig.addCategory(Category category) - -
-          Add category object
- voidLogMessage.setCategory(Category category) - -
-           
- voidCategory.setParent(Category parent) - -
-           
- voidLoggerConfig.setRoot(Category root) - -
-           
-  -

- - - - - - - - - - - -
��������Ϊ Category �� darks.log �еĹ��췽��
Category(Category parent) - -
-           
DefaultLogger(Category category, - java.lang.String tag) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.Category ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.Category
��ʹ��

+
+ + + + + + + + + +
+ʹ�� Category ��������
darks.log  
+  +

+ + + + + +
+darks.log �� Category ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + + + + + +
���� Category �� darks.log �еķ���
+ CategoryLogMessage.getCategory() + +
+           
+ CategoryLoggerConfig.getCategory(java.lang.String name) + +
+           
+ CategoryCategory.getParent() + +
+           
+ CategoryLoggerConfig.getRoot() + +
+           
+  +

+ + + + + + + + + +
���ر�������Ϊ Category �����͵� darks.log �еķ���
+ java.util.Map<java.lang.String,Category>LoggerConfig.getCategories() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
��������Ϊ Category �� darks.log �еķ���
+ voidLoggerConfig.addCategory(Category category) + +
+          Add category object
+ voidLogMessage.setCategory(Category category) + +
+           
+ voidCategory.setParent(Category parent) + +
+           
+ voidLoggerConfig.setRoot(Category root) + +
+           
+  +

+ + + + + + + + + + + +
��������Ϊ Category �� darks.log �еĹ��췽��
Category(Category parent) + +
+           
DefaultLogger(Category category, + java.lang.String tag) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/DefaultLogger.html b/docs/darks/log/class-use/DefaultLogger.html index 840f447..05b67bf 100644 --- a/docs/darks/log/class-use/DefaultLogger.html +++ b/docs/darks/log/class-use/DefaultLogger.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.DefaultLogger ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.DefaultLogger
��ʹ��

-
-û�� darks.log.DefaultLogger ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.DefaultLogger ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.DefaultLogger
��ʹ��

+
+û�� darks.log.DefaultLogger ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/InvalidLogger.html b/docs/darks/log/class-use/InvalidLogger.html index a0438dc..8637114 100644 --- a/docs/darks/log/class-use/InvalidLogger.html +++ b/docs/darks/log/class-use/InvalidLogger.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.InvalidLogger ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.InvalidLogger
��ʹ��

-
-û�� darks.log.InvalidLogger ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.InvalidLogger ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.InvalidLogger
��ʹ��

+
+û�� darks.log.InvalidLogger ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/Level.html b/docs/darks/log/class-use/Level.html index 6bffa58..7cf2cdc 100644 --- a/docs/darks/log/class-use/Level.html +++ b/docs/darks/log/class-use/Level.html @@ -1,375 +1,375 @@ - - - - - - -�� darks.log.Level ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.Level
��ʹ��

-
- - - - - - - - - - - - - -
-ʹ�� Level ��������
darks.log  
darks.log.filter  
-  -

- - - - - -
-darks.log �� Level ��ʹ��
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
����Ϊ Level �� darks.log �е��ֶ�
-static LevelLevel.DEBUG - -
-           
-static LevelLevel.ERROR - -
-           
-static LevelLevel.INFO - -
-           
-static LevelLevel.TRACE - -
-           
-static LevelLevel.VERBOSE - -
-           
-static LevelLevel.WARN - -
-           
-  -

- - - - - - - - - - - - - - - - - -
���� Level �� darks.log �еķ���
- LevelCategory.getLevel() - -
-           
- LevelLogMessage.getLevel() - -
-           
-static LevelLevel.getLevel(java.lang.String key) - -
-          Get level object by level name as key word
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
��������Ϊ Level �� darks.log �еķ���
- intLevel.compare(Level target) - -
-          Compare level between this and target level.
-static intLevel.compare(Level lv1, - Level lv2) - -
-          Compare level between two levels.
- voidLogger.log(Level level, - java.lang.String msg) - -
-          Output log message by target level.
- voidDefaultLogger.log(Level level, - java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by target level.
-abstract  voidLogger.log(Level level, - java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by target level.
- voidInvalidLogger.log(Level level, - java.lang.String msg, - java.lang.Throwable t) - -
-          Output log message and exception stack information by target level.
-static voidLevel.registerLevel(Level level) - -
-          Register level object
- voidCategory.setLevel(Level level) - -
-           
- voidLogMessage.setLevel(Level level) - -
-           
-  -

- - - - - -
-darks.log.filter �� Level ��ʹ��
-  -

- - - - - - - - - - - - - -
���� Level �� darks.log.filter �еķ���
- LevelLevelRangeFilter.getLevelMax() - -
-           
- LevelLevelRangeFilter.getLevelMin() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.Level ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.Level
��ʹ��

+
+ + + + + + + + + + + + + +
+ʹ�� Level ��������
darks.log  
darks.log.filter  
+  +

+ + + + + +
+darks.log �� Level ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
����Ϊ Level �� darks.log �е��ֶ�
+static LevelLevel.DEBUG + +
+           
+static LevelLevel.ERROR + +
+           
+static LevelLevel.INFO + +
+           
+static LevelLevel.TRACE + +
+           
+static LevelLevel.VERBOSE + +
+           
+static LevelLevel.WARN + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
���� Level �� darks.log �еķ���
+ LevelCategory.getLevel() + +
+           
+ LevelLogMessage.getLevel() + +
+           
+static LevelLevel.getLevel(java.lang.String key) + +
+          Get level object by level name as key word
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
��������Ϊ Level �� darks.log �еķ���
+ intLevel.compare(Level target) + +
+          Compare level between this and target level.
+static intLevel.compare(Level lv1, + Level lv2) + +
+          Compare level between two levels.
+ voidLogger.log(Level level, + java.lang.String msg) + +
+          Output log message by target level.
+ voidDefaultLogger.log(Level level, + java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by target level.
+abstract  voidLogger.log(Level level, + java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by target level.
+ voidInvalidLogger.log(Level level, + java.lang.String msg, + java.lang.Throwable t) + +
+          Output log message and exception stack information by target level.
+static voidLevel.registerLevel(Level level) + +
+          Register level object
+ voidCategory.setLevel(Level level) + +
+           
+ voidLogMessage.setLevel(Level level) + +
+           
+  +

+ + + + + +
+darks.log.filter �� Level ��ʹ��
+  +

+ + + + + + + + + + + + + +
���� Level �� darks.log.filter �еķ���
+ LevelLevelRangeFilter.getLevelMax() + +
+           
+ LevelLevelRangeFilter.getLevelMin() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/LogMessage.html b/docs/darks/log/class-use/LogMessage.html index d12985d..4b00e6b 100644 --- a/docs/darks/log/class-use/LogMessage.html +++ b/docs/darks/log/class-use/LogMessage.html @@ -1,550 +1,550 @@ - - - - - - -�� darks.log.LogMessage ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.LogMessage
��ʹ��

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-ʹ�� LogMessage ��������
darks.log  
darks.log.appender  
darks.log.appender.impl  
darks.log.filter  
darks.log.layout  
darks.log.pattern  
darks.log.pattern.parser  
-  -

- - - - - -
-darks.log �� LogMessage ��ʹ��
-  -

- - - - - - - - - -
���� LogMessage �� darks.log �еķ���
- LogMessageLoggerHolder.getMsg() - -
-           
-  -

- - - - - - - - - -
��������Ϊ LogMessage �� darks.log �еķ���
- voidLoggerHolder.setMsg(LogMessage msg) - -
-           
-  -

- - - - - - - - -
��������Ϊ LogMessage �� darks.log �еĹ��췽��
LoggerHolder(LogMessage msg) - -
-           
-  -

- - - - - -
-darks.log.appender �� LogMessage ��ʹ��
-  -

- - - - - - - - - - - - - -
��������Ϊ LogMessage �� darks.log.appender �еķ���
-abstract  voidAppender.append(LogMessage msg, - java.lang.String log) - -
-          Append log message
- voidAppender.doAppend(LogMessage msg) - -
-          Handle log message
-  -

- - - - - -
-darks.log.appender.impl �� LogMessage ��ʹ��
-  -

- - - - - - - - - - - - - - - - - - - - - -
��������Ϊ LogMessage �� darks.log.appender.impl �еķ���
- voidStreamAppender.append(LogMessage msg, - java.lang.String log) - -
-          Append log message
- voidSqliteAppender.append(LogMessage msg, - java.lang.String log) - -
-           
- voidConsoleAppender.append(LogMessage msg, - java.lang.String log) - -
-          Append log message
- voidAndroidAppender.append(LogMessage msg, - java.lang.String log) - -
-          Append log message
-  -

- - - - - -
-darks.log.filter �� LogMessage ��ʹ��
-  -

- - - - - - - - - - - - - - - - - -
��������Ϊ LogMessage �� darks.log.filter �еķ���
-abstract  intLoggerFilter.decide(LogMessage msg) - -
-          Decide log message whether allow output.
- intLevelRangeFilter.decide(LogMessage msg) - -
-          Decide log message whether allow output.
- intLoggerFilter.filter(LogMessage msg) - -
-          Filter message
-  -

- - - - - -
-darks.log.layout �� LogMessage ��ʹ��
-  -

- - - - - - - - - - - - - - - - - -
��������Ϊ LogMessage �� darks.log.layout �еķ���
- java.lang.StringSimpleLayout.format(LogMessage message) - -
-          Format log message with convertor
- java.lang.StringPatternLayout.format(LogMessage message) - -
-          Format log message with convertor
-abstract  java.lang.StringLoggerLayout.format(LogMessage message) - -
-          Format log message with convertor
-  -

- - - - - -
-darks.log.pattern �� LogMessage ��ʹ��
-  -

- - - - - - - - - - - - - -
��������Ϊ LogMessage �� darks.log.pattern �еķ���
- java.lang.StringDefaultPattern.format(LogMessage message) - -
-          Format message by pattern
- java.lang.StringConvertPattern.format(LogMessage message) - -
-          Format message by pattern
-  -

- - - - - -
-darks.log.pattern.parser �� LogMessage ��ʹ��
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
��������Ϊ LogMessage �� darks.log.pattern.parser �еķ���
- booleanThreadPatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- booleanTagPatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- booleanStringPatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- booleanSourcePatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
-abstract  booleanPatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- booleanMessagePatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- booleanLogLevelPatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- booleanFilenamePatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- booleanEventDetailPatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- booleanDuringTimePatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- booleanDatePatternConvertor.format(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.LogMessage ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.LogMessage
��ʹ��

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ʹ�� LogMessage ��������
darks.log  
darks.log.appender  
darks.log.appender.impl  
darks.log.filter  
darks.log.layout  
darks.log.pattern  
darks.log.pattern.parser  
+  +

+ + + + + +
+darks.log �� LogMessage ��ʹ��
+  +

+ + + + + + + + + +
���� LogMessage �� darks.log �еķ���
+ LogMessageLoggerHolder.getMsg() + +
+           
+  +

+ + + + + + + + + +
��������Ϊ LogMessage �� darks.log �еķ���
+ voidLoggerHolder.setMsg(LogMessage msg) + +
+           
+  +

+ + + + + + + + +
��������Ϊ LogMessage �� darks.log �еĹ��췽��
LoggerHolder(LogMessage msg) + +
+           
+  +

+ + + + + +
+darks.log.appender �� LogMessage ��ʹ��
+  +

+ + + + + + + + + + + + + +
��������Ϊ LogMessage �� darks.log.appender �еķ���
+abstract  voidAppender.append(LogMessage msg, + java.lang.String log) + +
+          Append log message
+ voidAppender.doAppend(LogMessage msg) + +
+          Handle log message
+  +

+ + + + + +
+darks.log.appender.impl �� LogMessage ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + + + + + +
��������Ϊ LogMessage �� darks.log.appender.impl �еķ���
+ voidStreamAppender.append(LogMessage msg, + java.lang.String log) + +
+          Append log message
+ voidSqliteAppender.append(LogMessage msg, + java.lang.String log) + +
+           
+ voidConsoleAppender.append(LogMessage msg, + java.lang.String log) + +
+          Append log message
+ voidAndroidAppender.append(LogMessage msg, + java.lang.String log) + +
+          Append log message
+  +

+ + + + + +
+darks.log.filter �� LogMessage ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + +
��������Ϊ LogMessage �� darks.log.filter �еķ���
+abstract  intLoggerFilter.decide(LogMessage msg) + +
+          Decide log message whether allow output.
+ intLevelRangeFilter.decide(LogMessage msg) + +
+          Decide log message whether allow output.
+ intLoggerFilter.filter(LogMessage msg) + +
+          Filter message
+  +

+ + + + + +
+darks.log.layout �� LogMessage ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + +
��������Ϊ LogMessage �� darks.log.layout �еķ���
+ java.lang.StringSimpleLayout.format(LogMessage message) + +
+          Format log message with convertor
+ java.lang.StringPatternLayout.format(LogMessage message) + +
+          Format log message with convertor
+abstract  java.lang.StringLoggerLayout.format(LogMessage message) + +
+          Format log message with convertor
+  +

+ + + + + +
+darks.log.pattern �� LogMessage ��ʹ��
+  +

+ + + + + + + + + + + + + +
��������Ϊ LogMessage �� darks.log.pattern �еķ���
+ java.lang.StringDefaultPattern.format(LogMessage message) + +
+          Format message by pattern
+ java.lang.StringConvertPattern.format(LogMessage message) + +
+          Format message by pattern
+  +

+ + + + + +
+darks.log.pattern.parser �� LogMessage ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
��������Ϊ LogMessage �� darks.log.pattern.parser �еķ���
+ booleanThreadPatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ booleanTagPatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ booleanStringPatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ booleanSourcePatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+abstract  booleanPatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ booleanMessagePatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ booleanLogLevelPatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ booleanFilenamePatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ booleanEventDetailPatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ booleanDuringTimePatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ booleanDatePatternConvertor.format(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/Logger.html b/docs/darks/log/class-use/Logger.html index d09ddb7..3606829 100644 --- a/docs/darks/log/class-use/Logger.html +++ b/docs/darks/log/class-use/Logger.html @@ -1,220 +1,220 @@ - - - - - - -�� darks.log.Logger ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.Logger
��ʹ��

-
- - - - - - - - - -
-ʹ�� Logger ��������
darks.log  
-  -

- - - - - -
-darks.log �� Logger ��ʹ��
-  -

- - - - - - - - + + + + + +
darks.log �� Logger ������
- classDefaultLogger - -
+ + + + + + +�� darks.log.Logger ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.Logger
��ʹ��

+
+ + + + + + + + + +
+ʹ�� Logger ��������
darks.log  
+  +

+ + + + + +
+darks.log �� Logger ��ʹ��
+  +

+ + + + + + + + - - - - - -
darks.log �� Logger ������
+ classDefaultLogger + +
          Default logger object used to log message and do appenders by default - DefaultLogger.java
- classInvalidLogger - -
-          Indicate log is invalid.
-  -

- - - - - - - - - - - - - - - - - -
���� Logger �� darks.log �еķ���
-static LoggerLogger.getLogger(java.lang.Class<?> clazz) - -
-          Get the logger by tag class.
-static LoggerLogger.getLogger(java.lang.String tag) - -
-          Get the logger by tag string.
-static LoggerLoggerFactory.getLogger(java.lang.String tag) - -
-          Create logger object.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + DefaultLogger.java
+ classInvalidLogger + +
+          Indicate log is invalid.
+  +

+ + + + + + + + + + + + + + + + + +
���� Logger �� darks.log �еķ���
+static LoggerLogger.getLogger(java.lang.Class<?> clazz) + +
+          Get the logger by tag class.
+static LoggerLogger.getLogger(java.lang.String tag) + +
+          Get the logger by tag string.
+static LoggerLoggerFactory.getLogger(java.lang.String tag) + +
+          Create logger object.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/LoggerConfig.html b/docs/darks/log/class-use/LoggerConfig.html index 18d35a7..ba3db0b 100644 --- a/docs/darks/log/class-use/LoggerConfig.html +++ b/docs/darks/log/class-use/LoggerConfig.html @@ -1,178 +1,178 @@ - - - - - - -�� darks.log.LoggerConfig ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.LoggerConfig
��ʹ��

-
- - - - - - - - - -
-ʹ�� LoggerConfig ��������
darks.log  
-  -

- - - - - -
-darks.log �� LoggerConfig ��ʹ��
-  -

- - - - - - - - - -
���� LoggerConfig �� darks.log �еķ���
-static LoggerConfigLogger.getConfig() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.LoggerConfig ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.LoggerConfig
��ʹ��

+
+ + + + + + + + + +
+ʹ�� LoggerConfig ��������
darks.log  
+  +

+ + + + + +
+darks.log �� LoggerConfig ��ʹ��
+  +

+ + + + + + + + + +
���� LoggerConfig �� darks.log �еķ���
+static LoggerConfigLogger.getConfig() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/LoggerFactory.html b/docs/darks/log/class-use/LoggerFactory.html index cefcde2..7f196dc 100644 --- a/docs/darks/log/class-use/LoggerFactory.html +++ b/docs/darks/log/class-use/LoggerFactory.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.LoggerFactory ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.LoggerFactory
��ʹ��

-
-û�� darks.log.LoggerFactory ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.LoggerFactory ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.LoggerFactory
��ʹ��

+
+û�� darks.log.LoggerFactory ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/LoggerHolder.html b/docs/darks/log/class-use/LoggerHolder.html index 8dce3f5..81123aa 100644 --- a/docs/darks/log/class-use/LoggerHolder.html +++ b/docs/darks/log/class-use/LoggerHolder.html @@ -1,178 +1,178 @@ - - - - - - -�� darks.log.LoggerHolder ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.LoggerHolder
��ʹ��

-
- - - - - - - - - -
-ʹ�� LoggerHolder ��������
darks.log  
-  -

- - - - - -
-darks.log �� LoggerHolder ��ʹ��
-  -

- - - - - - - - - -
���ر�������Ϊ LoggerHolder �����͵� darks.log �еķ���
-static java.util.Queue<LoggerHolder>LoggerThread.getHolders() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.LoggerHolder ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.LoggerHolder
��ʹ��

+
+ + + + + + + + + +
+ʹ�� LoggerHolder ��������
darks.log  
+  +

+ + + + + +
+darks.log �� LoggerHolder ��ʹ��
+  +

+ + + + + + + + + +
���ر�������Ϊ LoggerHolder �����͵� darks.log �еķ���
+static java.util.Queue<LoggerHolder>LoggerThread.getHolders() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/LoggerThread.html b/docs/darks/log/class-use/LoggerThread.html index 3f990f2..3ab712f 100644 --- a/docs/darks/log/class-use/LoggerThread.html +++ b/docs/darks/log/class-use/LoggerThread.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.LoggerThread ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.LoggerThread
��ʹ��

-
-û�� darks.log.LoggerThread ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.LoggerThread ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.LoggerThread
��ʹ��

+
+û�� darks.log.LoggerThread ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/class-use/ThrowableInfo.html b/docs/darks/log/class-use/ThrowableInfo.html index 286c3c0..2809b69 100644 --- a/docs/darks/log/class-use/ThrowableInfo.html +++ b/docs/darks/log/class-use/ThrowableInfo.html @@ -1,194 +1,194 @@ - - - - - - -�� darks.log.ThrowableInfo ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.ThrowableInfo
��ʹ��

-
- - - - - - - - - -
-ʹ�� ThrowableInfo ��������
darks.log  
-  -

- - - - - -
-darks.log �� ThrowableInfo ��ʹ��
-  -

- - - - - - - - - -
���� ThrowableInfo �� darks.log �еķ���
- ThrowableInfoLogMessage.getThrowableInfo() - -
-           
-  -

- - - - - - - - - -
��������Ϊ ThrowableInfo �� darks.log �еķ���
- voidLogMessage.setThrowableInfo(ThrowableInfo throwableInfo) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.ThrowableInfo ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.ThrowableInfo
��ʹ��

+
+ + + + + + + + + +
+ʹ�� ThrowableInfo ��������
darks.log  
+  +

+ + + + + +
+darks.log �� ThrowableInfo ��ʹ��
+  +

+ + + + + + + + + +
���� ThrowableInfo �� darks.log �еķ���
+ ThrowableInfoLogMessage.getThrowableInfo() + +
+           
+  +

+ + + + + + + + + +
��������Ϊ ThrowableInfo �� darks.log �еķ���
+ voidLogMessage.setThrowableInfo(ThrowableInfo throwableInfo) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/exceptions/ConfigException.html b/docs/darks/log/exceptions/ConfigException.html index f8dda52..bd83025 100644 --- a/docs/darks/log/exceptions/ConfigException.html +++ b/docs/darks/log/exceptions/ConfigException.html @@ -1,292 +1,292 @@ - - - - - - -ConfigException - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.exceptions -
-�� ConfigException

-
-java.lang.Object
-  �̳��� java.lang.Throwable
-      �̳��� java.lang.Exception
-          �̳��� java.lang.RuntimeException
-              �̳��� darks.log.exceptions.LogException
-                  �̳��� darks.log.exceptions.ConfigException
-
-
-
������ʵ�ֵĽӿڣ�
java.io.Serializable
-
-
-
-
public class ConfigException
extends LogException
- - -

-ConfigException.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
�������
-
- -

- - - - - - - - - - - - - - - - - - - - -
-���췽��ժҪ
ConfigException() - -
-           
ConfigException(java.lang.String message) - -
-           
ConfigException(java.lang.String message, - java.lang.Throwable cause) - -
-           
ConfigException(java.lang.Throwable cause) - -
-           
-  - - - - - - - -
-����ժҪ
- - - - - - - -
���� java.lang.Throwable �̳еķ���
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-ConfigException

-
-public ConfigException()
-
-
-
- -

-ConfigException

-
-public ConfigException(java.lang.String message)
-
-
-
- -

-ConfigException

-
-public ConfigException(java.lang.String message,
-                       java.lang.Throwable cause)
-
-
-
- -

-ConfigException

-
-public ConfigException(java.lang.Throwable cause)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +ConfigException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.exceptions +
+�� ConfigException

+
+java.lang.Object
+  �̳��� java.lang.Throwable
+      �̳��� java.lang.Exception
+          �̳��� java.lang.RuntimeException
+              �̳��� darks.log.exceptions.LogException
+                  �̳��� darks.log.exceptions.ConfigException
+
+
+
������ʵ�ֵĽӿڣ�
java.io.Serializable
+
+
+
+
public class ConfigException
extends LogException
+ + +

+ConfigException.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
�������
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+���췽��ժҪ
ConfigException() + +
+           
ConfigException(java.lang.String message) + +
+           
ConfigException(java.lang.String message, + java.lang.Throwable cause) + +
+           
ConfigException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+����ժҪ
+ + + + + + + +
���� java.lang.Throwable �̳еķ���
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+ConfigException

+
+public ConfigException()
+
+
+
+ +

+ConfigException

+
+public ConfigException(java.lang.String message)
+
+
+
+ +

+ConfigException

+
+public ConfigException(java.lang.String message,
+                       java.lang.Throwable cause)
+
+
+
+ +

+ConfigException

+
+public ConfigException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/exceptions/LogException.html b/docs/darks/log/exceptions/LogException.html index 26fc016..3894998 100644 --- a/docs/darks/log/exceptions/LogException.html +++ b/docs/darks/log/exceptions/LogException.html @@ -1,294 +1,294 @@ - - - - - - -LogException - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.exceptions -
-�� LogException

-
-java.lang.Object
-  �̳��� java.lang.Throwable
-      �̳��� java.lang.Exception
-          �̳��� java.lang.RuntimeException
-              �̳��� darks.log.exceptions.LogException
-
-
-
������ʵ�ֵĽӿڣ�
java.io.Serializable
-
-
-
ֱ����֪���ࣺ
ConfigException, PatternException
-
-
-
-
public class LogException
extends java.lang.RuntimeException
- - -

-LogException.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
�������
-
- -

- - - - - - - - - - - - - - - - - - - - -
-���췽��ժҪ
LogException() - -
-           
LogException(java.lang.String message) - -
-           
LogException(java.lang.String message, - java.lang.Throwable cause) - -
-           
LogException(java.lang.Throwable cause) - -
-           
-  - - - - - - - -
-����ժҪ
- - - - - - - -
���� java.lang.Throwable �̳еķ���
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-LogException

-
-public LogException()
-
-
-
- -

-LogException

-
-public LogException(java.lang.String message)
-
-
-
- -

-LogException

-
-public LogException(java.lang.String message,
-                    java.lang.Throwable cause)
-
-
-
- -

-LogException

-
-public LogException(java.lang.Throwable cause)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +LogException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.exceptions +
+�� LogException

+
+java.lang.Object
+  �̳��� java.lang.Throwable
+      �̳��� java.lang.Exception
+          �̳��� java.lang.RuntimeException
+              �̳��� darks.log.exceptions.LogException
+
+
+
������ʵ�ֵĽӿڣ�
java.io.Serializable
+
+
+
ֱ����֪���ࣺ
ConfigException, PatternException
+
+
+
+
public class LogException
extends java.lang.RuntimeException
+ + +

+LogException.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
�������
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+���췽��ժҪ
LogException() + +
+           
LogException(java.lang.String message) + +
+           
LogException(java.lang.String message, + java.lang.Throwable cause) + +
+           
LogException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+����ժҪ
+ + + + + + + +
���� java.lang.Throwable �̳еķ���
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+LogException

+
+public LogException()
+
+
+
+ +

+LogException

+
+public LogException(java.lang.String message)
+
+
+
+ +

+LogException

+
+public LogException(java.lang.String message,
+                    java.lang.Throwable cause)
+
+
+
+ +

+LogException

+
+public LogException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/exceptions/PatternException.html b/docs/darks/log/exceptions/PatternException.html index 1998dcb..7491452 100644 --- a/docs/darks/log/exceptions/PatternException.html +++ b/docs/darks/log/exceptions/PatternException.html @@ -1,292 +1,292 @@ - - - - - - -PatternException - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.exceptions -
-�� PatternException

-
-java.lang.Object
-  �̳��� java.lang.Throwable
-      �̳��� java.lang.Exception
-          �̳��� java.lang.RuntimeException
-              �̳��� darks.log.exceptions.LogException
-                  �̳��� darks.log.exceptions.PatternException
-
-
-
������ʵ�ֵĽӿڣ�
java.io.Serializable
-
-
-
-
public class PatternException
extends LogException
- - -

-PatternException.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
�������
-
- -

- - - - - - - - - - - - - - - - - - - - -
-���췽��ժҪ
PatternException() - -
-           
PatternException(java.lang.String message) - -
-           
PatternException(java.lang.String message, - java.lang.Throwable cause) - -
-           
PatternException(java.lang.Throwable cause) - -
-           
-  - - - - - - - -
-����ժҪ
- - - - - - - -
���� java.lang.Throwable �̳еķ���
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-PatternException

-
-public PatternException()
-
-
-
- -

-PatternException

-
-public PatternException(java.lang.String message)
-
-
-
- -

-PatternException

-
-public PatternException(java.lang.String message,
-                        java.lang.Throwable cause)
-
-
-
- -

-PatternException

-
-public PatternException(java.lang.Throwable cause)
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +PatternException + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.exceptions +
+�� PatternException

+
+java.lang.Object
+  �̳��� java.lang.Throwable
+      �̳��� java.lang.Exception
+          �̳��� java.lang.RuntimeException
+              �̳��� darks.log.exceptions.LogException
+                  �̳��� darks.log.exceptions.PatternException
+
+
+
������ʵ�ֵĽӿڣ�
java.io.Serializable
+
+
+
+
public class PatternException
extends LogException
+ + +

+PatternException.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
�������
+
+ +

+ + + + + + + + + + + + + + + + + + + + +
+���췽��ժҪ
PatternException() + +
+           
PatternException(java.lang.String message) + +
+           
PatternException(java.lang.String message, + java.lang.Throwable cause) + +
+           
PatternException(java.lang.Throwable cause) + +
+           
+  + + + + + + + +
+����ժҪ
+ + + + + + + +
���� java.lang.Throwable �̳еķ���
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+PatternException

+
+public PatternException()
+
+
+
+ +

+PatternException

+
+public PatternException(java.lang.String message)
+
+
+
+ +

+PatternException

+
+public PatternException(java.lang.String message,
+                        java.lang.Throwable cause)
+
+
+
+ +

+PatternException

+
+public PatternException(java.lang.Throwable cause)
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/exceptions/class-use/ConfigException.html b/docs/darks/log/exceptions/class-use/ConfigException.html index 53f2ca2..47407c7 100644 --- a/docs/darks/log/exceptions/class-use/ConfigException.html +++ b/docs/darks/log/exceptions/class-use/ConfigException.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.exceptions.ConfigException ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.exceptions.ConfigException
��ʹ��

-
-û�� darks.log.exceptions.ConfigException ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.exceptions.ConfigException ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.exceptions.ConfigException
��ʹ��

+
+û�� darks.log.exceptions.ConfigException ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/exceptions/class-use/LogException.html b/docs/darks/log/exceptions/class-use/LogException.html index 0b4de1e..ece06e9 100644 --- a/docs/darks/log/exceptions/class-use/LogException.html +++ b/docs/darks/log/exceptions/class-use/LogException.html @@ -1,186 +1,186 @@ - - - - - - -�� darks.log.exceptions.LogException ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.exceptions.LogException
��ʹ��

-
- - - - - - - - - -
-ʹ�� LogException ��������
darks.log.exceptions  
-  -

- - - - - -
-darks.log.exceptions �� LogException ��ʹ��
-  -

- - - - - - - - - - - - - -
darks.log.exceptions �� LogException ������
- classConfigException - -
-          ConfigException.java
- classPatternException - -
-          PatternException.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.exceptions.LogException ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.exceptions.LogException
��ʹ��

+
+ + + + + + + + + +
+ʹ�� LogException ��������
darks.log.exceptions  
+  +

+ + + + + +
+darks.log.exceptions �� LogException ��ʹ��
+  +

+ + + + + + + + + + + + + +
darks.log.exceptions �� LogException ������
+ classConfigException + +
+          ConfigException.java
+ classPatternException + +
+          PatternException.java
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/exceptions/class-use/PatternException.html b/docs/darks/log/exceptions/class-use/PatternException.html index 8809a70..9a234d2 100644 --- a/docs/darks/log/exceptions/class-use/PatternException.html +++ b/docs/darks/log/exceptions/class-use/PatternException.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.exceptions.PatternException ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.exceptions.PatternException
��ʹ��

-
-û�� darks.log.exceptions.PatternException ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.exceptions.PatternException ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.exceptions.PatternException
��ʹ��

+
+û�� darks.log.exceptions.PatternException ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/exceptions/package-frame.html b/docs/darks/log/exceptions/package-frame.html index 4deb3bf..13dd876 100644 --- a/docs/darks/log/exceptions/package-frame.html +++ b/docs/darks/log/exceptions/package-frame.html @@ -1,36 +1,36 @@ - - - - - - -darks.log.exceptions - - - - - - - - - - - -darks.log.exceptions - - - - -
-�쳣  - -
-ConfigException -
-LogException -
-PatternException
- - - - + + + + + + +darks.log.exceptions + + + + + + + + + + + +darks.log.exceptions + + + + +
+�쳣  + +
+ConfigException +
+LogException +
+PatternException
+ + + + diff --git a/docs/darks/log/exceptions/package-summary.html b/docs/darks/log/exceptions/package-summary.html index 525f221..78311df 100644 --- a/docs/darks/log/exceptions/package-summary.html +++ b/docs/darks/log/exceptions/package-summary.html @@ -1,163 +1,163 @@ - - - - - - -darks.log.exceptions - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.exceptions -

- - - - - - - - - - - - - - - - - -
-�쳣ժҪ
ConfigExceptionConfigException.java
LogExceptionLogException.java
PatternExceptionPatternException.java
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.exceptions + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.exceptions +

+ + + + + + + + + + + + + + + + + +
+�쳣ժҪ
ConfigExceptionConfigException.java
LogExceptionLogException.java
PatternExceptionPatternException.java
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/exceptions/package-tree.html b/docs/darks/log/exceptions/package-tree.html index 8cda460..f89ecfc 100644 --- a/docs/darks/log/exceptions/package-tree.html +++ b/docs/darks/log/exceptions/package-tree.html @@ -1,160 +1,160 @@ - - - - - - -darks.log.exceptions ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.exceptions �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

-
    -
  • java.lang.Object
      -
    • java.lang.Throwable (implements java.io.Serializable) - -
    -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.exceptions ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.exceptions �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+
    +
  • java.lang.Object
      +
    • java.lang.Throwable (implements java.io.Serializable) + +
    +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/exceptions/package-use.html b/docs/darks/log/exceptions/package-use.html index 0fe3f67..d2f218c 100644 --- a/docs/darks/log/exceptions/package-use.html +++ b/docs/darks/log/exceptions/package-use.html @@ -1,168 +1,168 @@ - - - - - - -������ darks.log.exceptions ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.exceptions
��ʹ��

-
- - - - - - - - - -
-ʹ�� darks.log.exceptions ��������
darks.log.exceptions  
-  -

- - - - - - - - -
-darks.log.exceptions ʹ�õ� darks.log.exceptions �е���
LogException - -
-          LogException.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.exceptions ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.exceptions
��ʹ��

+
+ + + + + + + + + +
+ʹ�� darks.log.exceptions ��������
darks.log.exceptions  
+  +

+ + + + + + + + +
+darks.log.exceptions ʹ�õ� darks.log.exceptions �е���
LogException + +
+          LogException.java
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/externs/FilePicker.html b/docs/darks/log/externs/FilePicker.html index 6075edc..2e721f9 100644 --- a/docs/darks/log/externs/FilePicker.html +++ b/docs/darks/log/externs/FilePicker.html @@ -1,105 +1,105 @@ - - - - - - -FilePicker - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.externs -
-�� FilePicker

-
-java.lang.Object
-  �̳��� darks.log.externs.FilePicker
-
-
-
-
public class FilePicker
extends java.lang.Object
- - -

+ + + + + + +FilePicker + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.externs +
+�� FilePicker

+
+java.lang.Object
+  �̳��� darks.log.externs.FilePicker
+
+
+
+
public class FilePicker
extends java.lang.Object
+ + +

Indicate to pick file path by custom pattern or get file from special place. Example: @@ -124,169 +124,169 @@

} - FilePicker.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
FilePicker() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- java.io.OutputStreamgetOutputStream(java.lang.String path, - boolean append) - -
-          Get output stream
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-FilePicker

-
-public FilePicker()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-getOutputStream

-
-public java.io.OutputStream getOutputStream(java.lang.String path,
-                                            boolean append)
-                                     throws java.io.IOException
-
-
Get output stream -

-

-
������
path - File path
append - If true, will append content to file -
���أ�
OutputStream object -
�׳��� -
java.io.IOException - IO Exception
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + FilePicker.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
FilePicker() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ java.io.OutputStreamgetOutputStream(java.lang.String path, + boolean append) + +
+          Get output stream
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+FilePicker

+
+public FilePicker()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getOutputStream

+
+public java.io.OutputStream getOutputStream(java.lang.String path,
+                                            boolean append)
+                                     throws java.io.IOException
+
+
Get output stream +

+

+
������
path - File path
append - If true, will append content to file +
���أ�
OutputStream object +
�׳��� +
java.io.IOException - IO Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/externs/class-use/FilePicker.html b/docs/darks/log/externs/class-use/FilePicker.html index 91bd91b..3212ca2 100644 --- a/docs/darks/log/externs/class-use/FilePicker.html +++ b/docs/darks/log/externs/class-use/FilePicker.html @@ -1,194 +1,194 @@ - - - - - - -�� darks.log.externs.FilePicker ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.externs.FilePicker
��ʹ��

-
- - - - - - - - - -
-ʹ�� FilePicker ��������
darks.log.appender.impl  
-  -

- - - - - -
-darks.log.appender.impl �� FilePicker ��ʹ��
-  -

- - - - - - - - - -
���� FilePicker �� darks.log.appender.impl �еķ���
- FilePickerFileAppender.getFilePicker() - -
-           
-  -

- - - - - - - - - -
��������Ϊ FilePicker �� darks.log.appender.impl �еķ���
- voidFileAppender.setFilePicker(FilePicker filePicker) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.externs.FilePicker ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.externs.FilePicker
��ʹ��

+
+ + + + + + + + + +
+ʹ�� FilePicker ��������
darks.log.appender.impl  
+  +

+ + + + + +
+darks.log.appender.impl �� FilePicker ��ʹ��
+  +

+ + + + + + + + + +
���� FilePicker �� darks.log.appender.impl �еķ���
+ FilePickerFileAppender.getFilePicker() + +
+           
+  +

+ + + + + + + + + +
��������Ϊ FilePicker �� darks.log.appender.impl �еķ���
+ voidFileAppender.setFilePicker(FilePicker filePicker) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/externs/package-frame.html b/docs/darks/log/externs/package-frame.html index e7565ad..2ee1a70 100644 --- a/docs/darks/log/externs/package-frame.html +++ b/docs/darks/log/externs/package-frame.html @@ -1,32 +1,32 @@ - - - - - - -darks.log.externs - - - - - - - - - - - -darks.log.externs - - - - -
-��  - -
-FilePicker
- - - - + + + + + + +darks.log.externs + + + + + + + + + + + +darks.log.externs + + + + +
+��  + +
+FilePicker
+ + + + diff --git a/docs/darks/log/externs/package-summary.html b/docs/darks/log/externs/package-summary.html index fa95592..933bd02 100644 --- a/docs/darks/log/externs/package-summary.html +++ b/docs/darks/log/externs/package-summary.html @@ -1,155 +1,155 @@ - - - - - - -darks.log.externs - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.externs -

- - - - - - - - - -
-��ժҪ
FilePickerIndicate to pick file path by custom pattern or get file from special place.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.externs + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.externs +

+ + + + + + + + + +
+��ժҪ
FilePickerIndicate to pick file path by custom pattern or get file from special place.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/externs/package-tree.html b/docs/darks/log/externs/package-tree.html index 0c3b85b..83636c0 100644 --- a/docs/darks/log/externs/package-tree.html +++ b/docs/darks/log/externs/package-tree.html @@ -1,151 +1,151 @@ - - - - - - -darks.log.externs ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.externs �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

-
    -
  • java.lang.Object -
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.externs ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.externs �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+
    +
  • java.lang.Object +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/externs/package-use.html b/docs/darks/log/externs/package-use.html index 9796f6a..0015a7e 100644 --- a/docs/darks/log/externs/package-use.html +++ b/docs/darks/log/externs/package-use.html @@ -1,168 +1,168 @@ - - - - - - -������ darks.log.externs ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.externs
��ʹ��

-
- - - - - - - - - -
-ʹ�� darks.log.externs ��������
darks.log.appender.impl  
-  -

- - - - - - - - -
-darks.log.appender.impl ʹ�õ� darks.log.externs �е���
FilePicker - -
-          Indicate to pick file path by custom pattern or get file from special place.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.externs ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.externs
��ʹ��

+
+ + + + + + + + + +
+ʹ�� darks.log.externs ��������
darks.log.appender.impl  
+  +

+ + + + + + + + +
+darks.log.appender.impl ʹ�õ� darks.log.externs �е���
FilePicker + +
+          Indicate to pick file path by custom pattern or get file from special place.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/filter/LevelRangeFilter.html b/docs/darks/log/filter/LevelRangeFilter.html index 1ae5eb1..b2e463c 100644 --- a/docs/darks/log/filter/LevelRangeFilter.html +++ b/docs/darks/log/filter/LevelRangeFilter.html @@ -1,106 +1,106 @@ - - - - - - -LevelRangeFilter - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.filter -
-�� LevelRangeFilter

-
-java.lang.Object
-  �̳��� darks.log.filter.LoggerFilter
-      �̳��� darks.log.filter.LevelRangeFilter
-
-
-
-
public class LevelRangeFilter
extends LoggerFilter
- - -

+ + + + + + +LevelRangeFilter + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.filter +
+�� LevelRangeFilter

+
+java.lang.Object
+  �̳��� darks.log.filter.LoggerFilter
+      �̳��� darks.log.filter.LevelRangeFilter
+
+
+
+
public class LevelRangeFilter
extends LoggerFilter
+ + +

Level range filter will output log which level between levelMin and levelMax.
Example: @@ -113,270 +113,270 @@

logd.appender.console.filter.levelMax=info logd.appender.console.filter.accept=true - LevelRangeFilter.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - -
-�ֶ�ժҪ
- - - - - - - -
���� darks.log.filter.LoggerFilter �̳е��ֶ�
ALLOW, DENY
-  - - - - - - - - - - -
-���췽��ժҪ
LevelRangeFilter() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- intdecide(LogMessage msg) - -
-          Decide log message whether allow output.
- LevelgetLevelMax() - -
-           
- LevelgetLevelMin() - -
-           
- voidsetLevelMax(java.lang.String levelMax) - -
-           
- voidsetLevelMin(java.lang.String levelMin) - -
-           
- - - - - - - -
���� darks.log.filter.LoggerFilter �̳еķ���
filter, isAccept, setAccept
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-LevelRangeFilter

-
-public LevelRangeFilter()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-decide

-
-public int decide(LogMessage msg)
-
-
Decide log message whether allow output. -

-

-
ָ���ߣ�
�� LoggerFilter �е� decide
-
-
-
������
msg - log message -
���أ�
ALLOW or DENY
-
-
-
- -

-getLevelMax

-
-public Level getLevelMax()
-
-
-
-
-
-
- -

-getLevelMin

-
-public Level getLevelMin()
-
-
-
-
-
-
- -

-setLevelMax

-
-public void setLevelMax(java.lang.String levelMax)
-
-
-
-
-
-
- -

-setLevelMin

-
-public void setLevelMin(java.lang.String levelMin)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + LevelRangeFilter.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + +
+�ֶ�ժҪ
+ + + + + + + +
���� darks.log.filter.LoggerFilter �̳е��ֶ�
ALLOW, DENY
+  + + + + + + + + + + +
+���췽��ժҪ
LevelRangeFilter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ intdecide(LogMessage msg) + +
+          Decide log message whether allow output.
+ LevelgetLevelMax() + +
+           
+ LevelgetLevelMin() + +
+           
+ voidsetLevelMax(java.lang.String levelMax) + +
+           
+ voidsetLevelMin(java.lang.String levelMin) + +
+           
+ + + + + + + +
���� darks.log.filter.LoggerFilter �̳еķ���
filter, isAccept, setAccept
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+LevelRangeFilter

+
+public LevelRangeFilter()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+decide

+
+public int decide(LogMessage msg)
+
+
Decide log message whether allow output. +

+

+
ָ���ߣ�
�� LoggerFilter �е� decide
+
+
+
������
msg - log message +
���أ�
ALLOW or DENY
+
+
+
+ +

+getLevelMax

+
+public Level getLevelMax()
+
+
+
+
+
+
+ +

+getLevelMin

+
+public Level getLevelMin()
+
+
+
+
+
+
+ +

+setLevelMax

+
+public void setLevelMax(java.lang.String levelMax)
+
+
+
+
+
+
+ +

+setLevelMin

+
+public void setLevelMin(java.lang.String levelMin)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/filter/LoggerFilter.html b/docs/darks/log/filter/LoggerFilter.html index 8d8d4d1..a2e2a40 100644 --- a/docs/darks/log/filter/LoggerFilter.html +++ b/docs/darks/log/filter/LoggerFilter.html @@ -1,382 +1,393 @@ - - - - - - -LoggerFilter - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.filter -
-�� LoggerFilter

-
-java.lang.Object
-  �̳��� darks.log.filter.LoggerFilter
-
-
-
ֱ����֪���ࣺ
LevelRangeFilter
-
-
-
-
public abstract class LoggerFilter
extends java.lang.Object
- - -

-Filter will decide whether allow output log message. + + + + + + +LoggerFilter + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.filter +
+�� LoggerFilter

+
+java.lang.Object
+  �̳��� darks.log.filter.LoggerFilter
+
+
+
ֱ����֪���ࣺ
LevelRangeFilter
+
+
+
+
public abstract class LoggerFilter
extends java.lang.Object
+ + +

+Filter will decide whether allow output log message.
+ Example: +

+ public class CustomFilter extends LoggerFilter
+ {
+     public int decide(LogMessage msg)
+     {
+        ...
+        return ALLOW;
+     }
+ }
+ 
- LoggerFilter.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - - -
-�ֶ�ժҪ
-static intALLOW - -
-           
-static intDENY - -
-           
-  - - - - - - - - - - -
-���췽��ժҪ
LoggerFilter() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
-abstract  intdecide(LogMessage msg) - -
-          Decide log message whether allow output.
- intfilter(LogMessage msg) - -
-          Filter message
- booleanisAccept() - -
-           
- voidsetAccept(boolean accept) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-�ֶ���ϸ��Ϣ
- -

-ALLOW

-
-public static final int ALLOW
-
-
-
������
�����ֶ�ֵ
-
-
- -

-DENY

-
-public static final int DENY
-
-
-
������
�����ֶ�ֵ
-
- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-LoggerFilter

-
-public LoggerFilter()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-decide

-
-public abstract int decide(LogMessage msg)
-
-
Decide log message whether allow output. -

-

-
������
msg - log message -
���أ�
ALLOW or DENY
-
-
-
- -

-filter

-
-public int filter(LogMessage msg)
-
-
Filter message -

-

-
������
msg - log message -
���أ�
ALLOW or DENY
-
-
-
- -

-isAccept

-
-public boolean isAccept()
-
-
-
-
-
-
- -

-setAccept

-
-public void setAccept(boolean accept)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + LoggerFilter.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + +
+�ֶ�ժҪ
+static intALLOW + +
+           
+static intDENY + +
+           
+  + + + + + + + + + + +
+���췽��ժҪ
LoggerFilter() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+abstract  intdecide(LogMessage msg) + +
+          Decide log message whether allow output.
+ intfilter(LogMessage msg) + +
+          Filter message
+ booleanisAccept() + +
+           
+ voidsetAccept(boolean accept) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+�ֶ���ϸ��Ϣ
+ +

+ALLOW

+
+public static final int ALLOW
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+DENY

+
+public static final int DENY
+
+
+
������
�����ֶ�ֵ
+
+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+LoggerFilter

+
+public LoggerFilter()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+decide

+
+public abstract int decide(LogMessage msg)
+
+
Decide log message whether allow output. +

+

+
������
msg - log message +
���أ�
ALLOW or DENY
+
+
+
+ +

+filter

+
+public int filter(LogMessage msg)
+
+
Filter message +

+

+
������
msg - log message +
���أ�
ALLOW or DENY
+
+
+
+ +

+isAccept

+
+public boolean isAccept()
+
+
+
+
+
+
+ +

+setAccept

+
+public void setAccept(boolean accept)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/filter/class-use/LevelRangeFilter.html b/docs/darks/log/filter/class-use/LevelRangeFilter.html index e70794f..e917219 100644 --- a/docs/darks/log/filter/class-use/LevelRangeFilter.html +++ b/docs/darks/log/filter/class-use/LevelRangeFilter.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.filter.LevelRangeFilter ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.filter.LevelRangeFilter
��ʹ��

-
-û�� darks.log.filter.LevelRangeFilter ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.filter.LevelRangeFilter ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.filter.LevelRangeFilter
��ʹ��

+
+û�� darks.log.filter.LevelRangeFilter ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/filter/class-use/LoggerFilter.html b/docs/darks/log/filter/class-use/LoggerFilter.html index 057050a..bcf602c 100644 --- a/docs/darks/log/filter/class-use/LoggerFilter.html +++ b/docs/darks/log/filter/class-use/LoggerFilter.html @@ -1,223 +1,223 @@ - - - - - - -�� darks.log.filter.LoggerFilter ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.filter.LoggerFilter
��ʹ��

-
- - - - - - - - - - - - - -
-ʹ�� LoggerFilter ��������
darks.log.appender  
darks.log.filter  
-  -

- - - - - -
-darks.log.appender �� LoggerFilter ��ʹ��
-  -

- - - - - - - - - -
���� LoggerFilter �� darks.log.appender �еķ���
- LoggerFilterAppender.getFilter() - -
-           
-  -

- - - - - - - - - -
��������Ϊ LoggerFilter �� darks.log.appender �еķ���
- voidAppender.setFilter(LoggerFilter filter) - -
-           
-  -

- - - - - -
-darks.log.filter �� LoggerFilter ��ʹ��
-  -

- - - - - - - - - -
darks.log.filter �� LoggerFilter ������
- classLevelRangeFilter - -
-          Level range filter will output log which level between levelMin and levelMax.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.filter.LoggerFilter ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.filter.LoggerFilter
��ʹ��

+
+ + + + + + + + + + + + + +
+ʹ�� LoggerFilter ��������
darks.log.appender  
darks.log.filter  
+  +

+ + + + + +
+darks.log.appender �� LoggerFilter ��ʹ��
+  +

+ + + + + + + + + +
���� LoggerFilter �� darks.log.appender �еķ���
+ LoggerFilterAppender.getFilter() + +
+           
+  +

+ + + + + + + + + +
��������Ϊ LoggerFilter �� darks.log.appender �еķ���
+ voidAppender.setFilter(LoggerFilter filter) + +
+           
+  +

+ + + + + +
+darks.log.filter �� LoggerFilter ��ʹ��
+  +

+ + + + + + + + + +
darks.log.filter �� LoggerFilter ������
+ classLevelRangeFilter + +
+          Level range filter will output log which level between levelMin and levelMax.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/filter/package-frame.html b/docs/darks/log/filter/package-frame.html index 3abd670..fb3754e 100644 --- a/docs/darks/log/filter/package-frame.html +++ b/docs/darks/log/filter/package-frame.html @@ -1,34 +1,34 @@ - - - - - - -darks.log.filter - - - - - - - - - - - -darks.log.filter - - - - -
-��  - -
-LevelRangeFilter -
-LoggerFilter
- - - - + + + + + + +darks.log.filter + + + + + + + + + + + +darks.log.filter + + + + +
+��  + +
+LevelRangeFilter +
+LoggerFilter
+ + + + diff --git a/docs/darks/log/filter/package-summary.html b/docs/darks/log/filter/package-summary.html index 71518c6..3623858 100644 --- a/docs/darks/log/filter/package-summary.html +++ b/docs/darks/log/filter/package-summary.html @@ -1,159 +1,159 @@ - - - - - - -darks.log.filter - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.filter -

- - - - - - - - - - - - - -
-��ժҪ
LevelRangeFilterLevel range filter will output log which level between levelMin and levelMax.
LoggerFilterFilter will decide whether allow output log message.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.filter + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.filter +

+ + + + + + + + + + + + + +
+��ժҪ
LevelRangeFilterLevel range filter will output log which level between levelMin and levelMax.
LoggerFilterFilter will decide whether allow output log message.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/filter/package-tree.html b/docs/darks/log/filter/package-tree.html index 14a7347..d98dfc2 100644 --- a/docs/darks/log/filter/package-tree.html +++ b/docs/darks/log/filter/package-tree.html @@ -1,153 +1,153 @@ - - - - - - -darks.log.filter ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.filter �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.filter ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.filter �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/filter/package-use.html b/docs/darks/log/filter/package-use.html index c50b56d..1788020 100644 --- a/docs/darks/log/filter/package-use.html +++ b/docs/darks/log/filter/package-use.html @@ -1,187 +1,187 @@ - - - - - - -������ darks.log.filter ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.filter
��ʹ��

-
- - - - - - - - - - - - - -
-ʹ�� darks.log.filter ��������
darks.log.appender  
darks.log.filter  
-  -

- - - - - - - - -
-darks.log.appender ʹ�õ� darks.log.filter �е���
LoggerFilter - -
-          Filter will decide whether allow output log message.
-  -

- - - - - - - - -
-darks.log.filter ʹ�õ� darks.log.filter �е���
LoggerFilter - -
-          Filter will decide whether allow output log message.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.filter ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.filter
��ʹ��

+
+ + + + + + + + + + + + + +
+ʹ�� darks.log.filter ��������
darks.log.appender  
darks.log.filter  
+  +

+ + + + + + + + +
+darks.log.appender ʹ�õ� darks.log.filter �е���
LoggerFilter + +
+          Filter will decide whether allow output log message.
+  +

+ + + + + + + + +
+darks.log.filter ʹ�õ� darks.log.filter �е���
LoggerFilter + +
+          Filter will decide whether allow output log message.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/AndroidKernelLogger.html b/docs/darks/log/kernel/AndroidKernelLogger.html index fb91546..ad10565 100644 --- a/docs/darks/log/kernel/AndroidKernelLogger.html +++ b/docs/darks/log/kernel/AndroidKernelLogger.html @@ -1,428 +1,428 @@ - - - - - - -AndroidKernelLogger - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.kernel -
-�� AndroidKernelLogger

-
-java.lang.Object
-  �̳��� darks.log.kernel.AndroidKernelLogger
-
-
-
������ʵ�ֵĽӿڣ�
KernelLogger
-
-
-
-
public class AndroidKernelLogger
extends java.lang.Object
implements KernelLogger
- - -

-AndroidKernelLogger.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
AndroidKernelLogger() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voiddebug(java.lang.String msg) - -
-           
- voiddebug(java.lang.String msg, - java.lang.Throwable e) - -
-           
- voiderror(java.lang.String msg) - -
-           
- voiderror(java.lang.String msg, - java.lang.Throwable e) - -
-           
- voidinfo(java.lang.String msg) - -
-           
- voidinfo(java.lang.String msg, - java.lang.Throwable e) - -
-           
- voidwarn(java.lang.String msg) - -
-           
- voidwarn(java.lang.String msg, - java.lang.Throwable e) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-AndroidKernelLogger

-
-public AndroidKernelLogger()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-debug

-
-public void debug(java.lang.String msg)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� debug
-
-
-
-
-
-
- -

-debug

-
-public void debug(java.lang.String msg,
-                  java.lang.Throwable e)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� debug
-
-
-
-
-
-
- -

-error

-
-public void error(java.lang.String msg)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� error
-
-
-
-
-
-
- -

-error

-
-public void error(java.lang.String msg,
-                  java.lang.Throwable e)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� error
-
-
-
-
-
-
- -

-info

-
-public void info(java.lang.String msg)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� info
-
-
-
-
-
-
- -

-info

-
-public void info(java.lang.String msg,
-                 java.lang.Throwable e)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� info
-
-
-
-
-
-
- -

-warn

-
-public void warn(java.lang.String msg)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� warn
-
-
-
-
-
-
- -

-warn

-
-public void warn(java.lang.String msg,
-                 java.lang.Throwable e)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� warn
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +AndroidKernelLogger + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.kernel +
+�� AndroidKernelLogger

+
+java.lang.Object
+  �̳��� darks.log.kernel.AndroidKernelLogger
+
+
+
������ʵ�ֵĽӿڣ�
KernelLogger
+
+
+
+
public class AndroidKernelLogger
extends java.lang.Object
implements KernelLogger
+ + +

+AndroidKernelLogger.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
AndroidKernelLogger() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voiddebug(java.lang.String msg) + +
+           
+ voiddebug(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ voiderror(java.lang.String msg) + +
+           
+ voiderror(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ voidinfo(java.lang.String msg) + +
+           
+ voidinfo(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ voidwarn(java.lang.String msg) + +
+           
+ voidwarn(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+AndroidKernelLogger

+
+public AndroidKernelLogger()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+debug

+
+public void debug(java.lang.String msg)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� debug
+
+
+
+
+
+
+ +

+debug

+
+public void debug(java.lang.String msg,
+                  java.lang.Throwable e)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� debug
+
+
+
+
+
+
+ +

+error

+
+public void error(java.lang.String msg)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� error
+
+
+
+
+
+
+ +

+error

+
+public void error(java.lang.String msg,
+                  java.lang.Throwable e)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� error
+
+
+
+
+
+
+ +

+info

+
+public void info(java.lang.String msg)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� info
+
+
+
+
+
+
+ +

+info

+
+public void info(java.lang.String msg,
+                 java.lang.Throwable e)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� info
+
+
+
+
+
+
+ +

+warn

+
+public void warn(java.lang.String msg)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� warn
+
+
+
+
+
+
+ +

+warn

+
+public void warn(java.lang.String msg,
+                 java.lang.Throwable e)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� warn
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/ConsoleKernelLogger.html b/docs/darks/log/kernel/ConsoleKernelLogger.html index ad24754..b2314e5 100644 --- a/docs/darks/log/kernel/ConsoleKernelLogger.html +++ b/docs/darks/log/kernel/ConsoleKernelLogger.html @@ -1,428 +1,428 @@ - - - - - - -ConsoleKernelLogger - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.kernel -
-�� ConsoleKernelLogger

-
-java.lang.Object
-  �̳��� darks.log.kernel.ConsoleKernelLogger
-
-
-
������ʵ�ֵĽӿڣ�
KernelLogger
-
-
-
-
public class ConsoleKernelLogger
extends java.lang.Object
implements KernelLogger
- - -

-ConsoleKernelLogger.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
ConsoleKernelLogger() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voiddebug(java.lang.String msg) - -
-           
- voiddebug(java.lang.String msg, - java.lang.Throwable e) - -
-           
- voiderror(java.lang.String msg) - -
-           
- voiderror(java.lang.String msg, - java.lang.Throwable e) - -
-           
- voidinfo(java.lang.String msg) - -
-           
- voidinfo(java.lang.String msg, - java.lang.Throwable e) - -
-           
- voidwarn(java.lang.String msg) - -
-           
- voidwarn(java.lang.String msg, - java.lang.Throwable e) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-ConsoleKernelLogger

-
-public ConsoleKernelLogger()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-debug

-
-public void debug(java.lang.String msg)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� debug
-
-
-
-
-
-
- -

-debug

-
-public void debug(java.lang.String msg,
-                  java.lang.Throwable e)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� debug
-
-
-
-
-
-
- -

-error

-
-public void error(java.lang.String msg)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� error
-
-
-
-
-
-
- -

-error

-
-public void error(java.lang.String msg,
-                  java.lang.Throwable e)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� error
-
-
-
-
-
-
- -

-info

-
-public void info(java.lang.String msg)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� info
-
-
-
-
-
-
- -

-info

-
-public void info(java.lang.String msg,
-                 java.lang.Throwable e)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� info
-
-
-
-
-
-
- -

-warn

-
-public void warn(java.lang.String msg)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� warn
-
-
-
-
-
-
- -

-warn

-
-public void warn(java.lang.String msg,
-                 java.lang.Throwable e)
-
-
-
ָ���ߣ�
�ӿ� KernelLogger �е� warn
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +ConsoleKernelLogger + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.kernel +
+�� ConsoleKernelLogger

+
+java.lang.Object
+  �̳��� darks.log.kernel.ConsoleKernelLogger
+
+
+
������ʵ�ֵĽӿڣ�
KernelLogger
+
+
+
+
public class ConsoleKernelLogger
extends java.lang.Object
implements KernelLogger
+ + +

+ConsoleKernelLogger.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
ConsoleKernelLogger() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voiddebug(java.lang.String msg) + +
+           
+ voiddebug(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ voiderror(java.lang.String msg) + +
+           
+ voiderror(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ voidinfo(java.lang.String msg) + +
+           
+ voidinfo(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ voidwarn(java.lang.String msg) + +
+           
+ voidwarn(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+ConsoleKernelLogger

+
+public ConsoleKernelLogger()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+debug

+
+public void debug(java.lang.String msg)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� debug
+
+
+
+
+
+
+ +

+debug

+
+public void debug(java.lang.String msg,
+                  java.lang.Throwable e)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� debug
+
+
+
+
+
+
+ +

+error

+
+public void error(java.lang.String msg)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� error
+
+
+
+
+
+
+ +

+error

+
+public void error(java.lang.String msg,
+                  java.lang.Throwable e)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� error
+
+
+
+
+
+
+ +

+info

+
+public void info(java.lang.String msg)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� info
+
+
+
+
+
+
+ +

+info

+
+public void info(java.lang.String msg,
+                 java.lang.Throwable e)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� info
+
+
+
+
+
+
+ +

+warn

+
+public void warn(java.lang.String msg)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� warn
+
+
+
+
+
+
+ +

+warn

+
+public void warn(java.lang.String msg,
+                 java.lang.Throwable e)
+
+
+
ָ���ߣ�
�ӿ� KernelLogger �е� warn
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/Kernel.html b/docs/darks/log/kernel/Kernel.html index dbda0ce..facbb14 100644 --- a/docs/darks/log/kernel/Kernel.html +++ b/docs/darks/log/kernel/Kernel.html @@ -1,368 +1,368 @@ - - - - - - -Kernel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.kernel -
-�� Kernel

-
-java.lang.Object
-  �̳��� darks.log.kernel.Kernel
-
-
-
-
public final class Kernel
extends java.lang.Object
- - -

-Kernel.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
-static voidlogDebug(java.lang.String msg) - -
-           
-static voidlogDebug(java.lang.String msg, - java.lang.Throwable e) - -
-           
-static voidlogError(java.lang.String msg) - -
-           
-static voidlogError(java.lang.String msg, - java.lang.Throwable e) - -
-           
-static voidlogInfo(java.lang.String msg) - -
-           
-static voidlogInfo(java.lang.String msg, - java.lang.Throwable e) - -
-           
-static voidlogWarn(java.lang.String msg) - -
-           
-static voidlogWarn(java.lang.String msg, - java.lang.Throwable e) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-������ϸ��Ϣ
- -

-logDebug

-
-public static void logDebug(java.lang.String msg)
-
-
-
-
-
-
- -

-logDebug

-
-public static void logDebug(java.lang.String msg,
-                            java.lang.Throwable e)
-
-
-
-
-
-
- -

-logError

-
-public static void logError(java.lang.String msg)
-
-
-
-
-
-
- -

-logError

-
-public static void logError(java.lang.String msg,
-                            java.lang.Throwable e)
-
-
-
-
-
-
- -

-logInfo

-
-public static void logInfo(java.lang.String msg)
-
-
-
-
-
-
- -

-logInfo

-
-public static void logInfo(java.lang.String msg,
-                           java.lang.Throwable e)
-
-
-
-
-
-
- -

-logWarn

-
-public static void logWarn(java.lang.String msg)
-
-
-
-
-
-
- -

-logWarn

-
-public static void logWarn(java.lang.String msg,
-                           java.lang.Throwable e)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +Kernel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.kernel +
+�� Kernel

+
+java.lang.Object
+  �̳��� darks.log.kernel.Kernel
+
+
+
+
public final class Kernel
extends java.lang.Object
+ + +

+Kernel.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+static voidlogDebug(java.lang.String msg) + +
+           
+static voidlogDebug(java.lang.String msg, + java.lang.Throwable e) + +
+           
+static voidlogError(java.lang.String msg) + +
+           
+static voidlogError(java.lang.String msg, + java.lang.Throwable e) + +
+           
+static voidlogInfo(java.lang.String msg) + +
+           
+static voidlogInfo(java.lang.String msg, + java.lang.Throwable e) + +
+           
+static voidlogWarn(java.lang.String msg) + +
+           
+static voidlogWarn(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+������ϸ��Ϣ
+ +

+logDebug

+
+public static void logDebug(java.lang.String msg)
+
+
+
+
+
+
+ +

+logDebug

+
+public static void logDebug(java.lang.String msg,
+                            java.lang.Throwable e)
+
+
+
+
+
+
+ +

+logError

+
+public static void logError(java.lang.String msg)
+
+
+
+
+
+
+ +

+logError

+
+public static void logError(java.lang.String msg,
+                            java.lang.Throwable e)
+
+
+
+
+
+
+ +

+logInfo

+
+public static void logInfo(java.lang.String msg)
+
+
+
+
+
+
+ +

+logInfo

+
+public static void logInfo(java.lang.String msg,
+                           java.lang.Throwable e)
+
+
+
+
+
+
+ +

+logWarn

+
+public static void logWarn(java.lang.String msg)
+
+
+
+
+
+
+ +

+logWarn

+
+public static void logWarn(java.lang.String msg,
+                           java.lang.Throwable e)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/KernelLogger.html b/docs/darks/log/kernel/KernelLogger.html index 0d9a40f..a5e6f6f 100644 --- a/docs/darks/log/kernel/KernelLogger.html +++ b/docs/darks/log/kernel/KernelLogger.html @@ -1,358 +1,358 @@ - - - - - - -KernelLogger - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.kernel -
-�ӿ� KernelLogger

-
-
������֪ʵ���ࣺ
AndroidKernelLogger, ConsoleKernelLogger
-
-
-
-
public interface KernelLogger
- - -

-KernelLogger.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- voiddebug(java.lang.String msg) - -
-           
- voiddebug(java.lang.String msg, - java.lang.Throwable e) - -
-           
- voiderror(java.lang.String msg) - -
-           
- voiderror(java.lang.String msg, - java.lang.Throwable e) - -
-           
- voidinfo(java.lang.String msg) - -
-           
- voidinfo(java.lang.String msg, - java.lang.Throwable e) - -
-           
- voidwarn(java.lang.String msg) - -
-           
- voidwarn(java.lang.String msg, - java.lang.Throwable e) - -
-           
-  -

- - - - - - - - -
-������ϸ��Ϣ
- -

-debug

-
-void debug(java.lang.String msg)
-
-
-
-
-
-
- -

-debug

-
-void debug(java.lang.String msg,
-           java.lang.Throwable e)
-
-
-
-
-
-
- -

-error

-
-void error(java.lang.String msg)
-
-
-
-
-
-
- -

-error

-
-void error(java.lang.String msg,
-           java.lang.Throwable e)
-
-
-
-
-
-
- -

-info

-
-void info(java.lang.String msg)
-
-
-
-
-
-
- -

-info

-
-void info(java.lang.String msg,
-          java.lang.Throwable e)
-
-
-
-
-
-
- -

-warn

-
-void warn(java.lang.String msg)
-
-
-
-
-
-
- -

-warn

-
-void warn(java.lang.String msg,
-          java.lang.Throwable e)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +KernelLogger + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.kernel +
+�ӿ� KernelLogger

+
+
������֪ʵ���ࣺ
AndroidKernelLogger, ConsoleKernelLogger
+
+
+
+
public interface KernelLogger
+ + +

+KernelLogger.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ voiddebug(java.lang.String msg) + +
+           
+ voiddebug(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ voiderror(java.lang.String msg) + +
+           
+ voiderror(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ voidinfo(java.lang.String msg) + +
+           
+ voidinfo(java.lang.String msg, + java.lang.Throwable e) + +
+           
+ voidwarn(java.lang.String msg) + +
+           
+ voidwarn(java.lang.String msg, + java.lang.Throwable e) + +
+           
+  +

+ + + + + + + + +
+������ϸ��Ϣ
+ +

+debug

+
+void debug(java.lang.String msg)
+
+
+
+
+
+
+ +

+debug

+
+void debug(java.lang.String msg,
+           java.lang.Throwable e)
+
+
+
+
+
+
+ +

+error

+
+void error(java.lang.String msg)
+
+
+
+
+
+
+ +

+error

+
+void error(java.lang.String msg,
+           java.lang.Throwable e)
+
+
+
+
+
+
+ +

+info

+
+void info(java.lang.String msg)
+
+
+
+
+
+
+ +

+info

+
+void info(java.lang.String msg,
+          java.lang.Throwable e)
+
+
+
+
+
+
+ +

+warn

+
+void warn(java.lang.String msg)
+
+
+
+
+
+
+ +

+warn

+
+void warn(java.lang.String msg,
+          java.lang.Throwable e)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/class-use/AndroidKernelLogger.html b/docs/darks/log/kernel/class-use/AndroidKernelLogger.html index 34cf649..0ff4461 100644 --- a/docs/darks/log/kernel/class-use/AndroidKernelLogger.html +++ b/docs/darks/log/kernel/class-use/AndroidKernelLogger.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.kernel.AndroidKernelLogger ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.kernel.AndroidKernelLogger
��ʹ��

-
-û�� darks.log.kernel.AndroidKernelLogger ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.kernel.AndroidKernelLogger ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.kernel.AndroidKernelLogger
��ʹ��

+
+û�� darks.log.kernel.AndroidKernelLogger ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/class-use/ConsoleKernelLogger.html b/docs/darks/log/kernel/class-use/ConsoleKernelLogger.html index 81a972b..2059287 100644 --- a/docs/darks/log/kernel/class-use/ConsoleKernelLogger.html +++ b/docs/darks/log/kernel/class-use/ConsoleKernelLogger.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.kernel.ConsoleKernelLogger ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.kernel.ConsoleKernelLogger
��ʹ��

-
-û�� darks.log.kernel.ConsoleKernelLogger ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.kernel.ConsoleKernelLogger ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.kernel.ConsoleKernelLogger
��ʹ��

+
+û�� darks.log.kernel.ConsoleKernelLogger ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/class-use/Kernel.html b/docs/darks/log/kernel/class-use/Kernel.html index 4b2b9f2..7ffeb48 100644 --- a/docs/darks/log/kernel/class-use/Kernel.html +++ b/docs/darks/log/kernel/class-use/Kernel.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.kernel.Kernel ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.kernel.Kernel
��ʹ��

-
-û�� darks.log.kernel.Kernel ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.kernel.Kernel ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.kernel.Kernel
��ʹ��

+
+û�� darks.log.kernel.Kernel ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/class-use/KernelLogger.html b/docs/darks/log/kernel/class-use/KernelLogger.html index 0aad32c..847f06b 100644 --- a/docs/darks/log/kernel/class-use/KernelLogger.html +++ b/docs/darks/log/kernel/class-use/KernelLogger.html @@ -1,186 +1,186 @@ - - - - - - -�ӿ� darks.log.kernel.KernelLogger ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�ӿ� darks.log.kernel.KernelLogger
��ʹ��

-
- - - - - - - - - -
-ʹ�� KernelLogger ��������
darks.log.kernel  
-  -

- - - - - -
-darks.log.kernel �� KernelLogger ��ʹ��
-  -

- - - - - - - - - - - - - -
ʵ�� KernelLogger �� darks.log.kernel �е���
- classAndroidKernelLogger - -
-          AndroidKernelLogger.java
- classConsoleKernelLogger - -
-          ConsoleKernelLogger.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�ӿ� darks.log.kernel.KernelLogger ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�ӿ� darks.log.kernel.KernelLogger
��ʹ��

+
+ + + + + + + + + +
+ʹ�� KernelLogger ��������
darks.log.kernel  
+  +

+ + + + + +
+darks.log.kernel �� KernelLogger ��ʹ��
+  +

+ + + + + + + + + + + + + +
ʵ�� KernelLogger �� darks.log.kernel �е���
+ classAndroidKernelLogger + +
+          AndroidKernelLogger.java
+ classConsoleKernelLogger + +
+          ConsoleKernelLogger.java
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/package-frame.html b/docs/darks/log/kernel/package-frame.html index 29735ba..1cbc982 100644 --- a/docs/darks/log/kernel/package-frame.html +++ b/docs/darks/log/kernel/package-frame.html @@ -1,47 +1,47 @@ - - - - - - -darks.log.kernel - - - - - - - - - - - -darks.log.kernel - - - - -
-�ӿ�  - -
-KernelLogger
- - - - - - -
-��  - -
-AndroidKernelLogger -
-ConsoleKernelLogger -
-Kernel
- - - - + + + + + + +darks.log.kernel + + + + + + + + + + + +darks.log.kernel + + + + +
+�ӿ�  + +
+KernelLogger
+ + + + + + +
+��  + +
+AndroidKernelLogger +
+ConsoleKernelLogger +
+Kernel
+ + + + diff --git a/docs/darks/log/kernel/package-summary.html b/docs/darks/log/kernel/package-summary.html index 3e22727..00a3fd4 100644 --- a/docs/darks/log/kernel/package-summary.html +++ b/docs/darks/log/kernel/package-summary.html @@ -1,177 +1,177 @@ - - - - - - -darks.log.kernel - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.kernel -

- - - - - - - - - -
-�ӿ�ժҪ
KernelLoggerKernelLogger.java
-  - -

- - - - - - - - - - - - - - - - - -
-��ժҪ
AndroidKernelLoggerAndroidKernelLogger.java
ConsoleKernelLoggerConsoleKernelLogger.java
KernelKernel.java
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.kernel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.kernel +

+ + + + + + + + + +
+�ӿ�ժҪ
KernelLoggerKernelLogger.java
+  + +

+ + + + + + + + + + + + + + + + + +
+��ժҪ
AndroidKernelLoggerAndroidKernelLogger.java
ConsoleKernelLoggerConsoleKernelLogger.java
KernelKernel.java
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/package-tree.html b/docs/darks/log/kernel/package-tree.html index 64ed04d..62cf6f4 100644 --- a/docs/darks/log/kernel/package-tree.html +++ b/docs/darks/log/kernel/package-tree.html @@ -1,158 +1,158 @@ - - - - - - -darks.log.kernel ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.kernel �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -

-�ӿڷֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.kernel ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.kernel �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +

+�ӿڷֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/kernel/package-use.html b/docs/darks/log/kernel/package-use.html index 8aa38e8..0c9ff68 100644 --- a/docs/darks/log/kernel/package-use.html +++ b/docs/darks/log/kernel/package-use.html @@ -1,168 +1,168 @@ - - - - - - -������ darks.log.kernel ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.kernel
��ʹ��

-
- - - - - - - - - -
-ʹ�� darks.log.kernel ��������
darks.log.kernel  
-  -

- - - - - - - - -
-darks.log.kernel ʹ�õ� darks.log.kernel �е���
KernelLogger - -
-          KernelLogger.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.kernel ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.kernel
��ʹ��

+
+ + + + + + + + + +
+ʹ�� darks.log.kernel ��������
darks.log.kernel  
+  +

+ + + + + + + + +
+darks.log.kernel ʹ�õ� darks.log.kernel �е���
KernelLogger + +
+          KernelLogger.java
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/layout/LoggerLayout.html b/docs/darks/log/layout/LoggerLayout.html index 9a09f3b..efd5b5e 100644 --- a/docs/darks/log/layout/LoggerLayout.html +++ b/docs/darks/log/layout/LoggerLayout.html @@ -1,108 +1,108 @@ - - - - - - -LoggerLayout - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.layout -
-�� LoggerLayout

-
-java.lang.Object
-  �̳��� darks.log.layout.LoggerLayout
-
-
-
ֱ����֪���ࣺ
PatternLayout, SimpleLayout
-
-
-
-
public abstract class LoggerLayout
extends java.lang.Object
- - -

+ + + + + + +LoggerLayout + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.layout +
+�� LoggerLayout

+
+java.lang.Object
+  �̳��� darks.log.layout.LoggerLayout
+
+
+
ֱ����֪���ࣺ
PatternLayout, SimpleLayout
+
+
+
+
public abstract class LoggerLayout
extends java.lang.Object
+ + +

Logger layout.You can use it to format message or custom how to output message. @@ -118,240 +118,240 @@

} - LoggerLayout.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
LoggerLayout() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
-abstract  java.lang.Stringformat(LogMessage message) - -
-          Format log message with convertor
- ConvertPatterngetConvertor() - -
-           
- java.lang.StringgetPattern() - -
-           
- voidsetConvertor(ConvertPattern convertor) - -
-           
- voidsetPattern(java.lang.String pattern) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-LoggerLayout

-
-public LoggerLayout()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public abstract java.lang.String format(LogMessage message)
-
-
Format log message with convertor -

-

-
������
message - log message -
���أ�
log message after converted
-
-
-
- -

-getConvertor

-
-public ConvertPattern getConvertor()
-
-
-
-
-
-
- -

-getPattern

-
-public java.lang.String getPattern()
-
-
-
-
-
-
- -

-setConvertor

-
-public void setConvertor(ConvertPattern convertor)
-
-
-
-
-
-
- -

-setPattern

-
-public void setPattern(java.lang.String pattern)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + LoggerLayout.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
LoggerLayout() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+abstract  java.lang.Stringformat(LogMessage message) + +
+          Format log message with convertor
+ ConvertPatterngetConvertor() + +
+           
+ java.lang.StringgetPattern() + +
+           
+ voidsetConvertor(ConvertPattern convertor) + +
+           
+ voidsetPattern(java.lang.String pattern) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+LoggerLayout

+
+public LoggerLayout()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public abstract java.lang.String format(LogMessage message)
+
+
Format log message with convertor +

+

+
������
message - log message +
���أ�
log message after converted
+
+
+
+ +

+getConvertor

+
+public ConvertPattern getConvertor()
+
+
+
+
+
+
+ +

+getPattern

+
+public java.lang.String getPattern()
+
+
+
+
+
+
+ +

+setConvertor

+
+public void setConvertor(ConvertPattern convertor)
+
+
+
+
+
+
+ +

+setPattern

+
+public void setPattern(java.lang.String pattern)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/layout/PatternLayout.html b/docs/darks/log/layout/PatternLayout.html index 7d38ca8..01b9878 100644 --- a/docs/darks/log/layout/PatternLayout.html +++ b/docs/darks/log/layout/PatternLayout.html @@ -1,106 +1,106 @@ - - - - - - -PatternLayout - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.layout -
-�� PatternLayout

-
-java.lang.Object
-  �̳��� darks.log.layout.LoggerLayout
-      �̳��� darks.log.layout.PatternLayout
-
-
-
-
public class PatternLayout
extends LoggerLayout
- - -

+ + + + + + +PatternLayout + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.layout +
+�� PatternLayout

+
+java.lang.Object
+  �̳��� darks.log.layout.LoggerLayout
+      �̳��� darks.log.layout.PatternLayout
+
+
+
+
public class PatternLayout
extends LoggerLayout
+ + +

Indicate that use pattern to format message. Example: @@ -112,176 +112,176 @@

logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n - PatternLayout.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
������
ConvertPattern
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
PatternLayout() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- java.lang.Stringformat(LogMessage message) - -
-          Format log message with convertor
- - - - - - - -
���� darks.log.layout.LoggerLayout �̳еķ���
getConvertor, getPattern, setConvertor, setPattern
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-PatternLayout

-
-public PatternLayout()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public java.lang.String format(LogMessage message)
-
-
Format log message with convertor -

-

-
ָ���ߣ�
�� LoggerLayout �е� format
-
-
-
������
message - log message -
���أ�
log message after converted
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + PatternLayout.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
������
ConvertPattern
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
PatternLayout() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ java.lang.Stringformat(LogMessage message) + +
+          Format log message with convertor
+ + + + + + + +
���� darks.log.layout.LoggerLayout �̳еķ���
getConvertor, getPattern, setConvertor, setPattern
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+PatternLayout

+
+public PatternLayout()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public java.lang.String format(LogMessage message)
+
+
Format log message with convertor +

+

+
ָ���ߣ�
�� LoggerLayout �е� format
+
+
+
������
message - log message +
���أ�
log message after converted
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/layout/SimpleLayout.html b/docs/darks/log/layout/SimpleLayout.html index 3f093f1..93fff99 100644 --- a/docs/darks/log/layout/SimpleLayout.html +++ b/docs/darks/log/layout/SimpleLayout.html @@ -1,106 +1,106 @@ - - - - - - -SimpleLayout - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.layout -
-�� SimpleLayout

-
-java.lang.Object
-  �̳��� darks.log.layout.LoggerLayout
-      �̳��� darks.log.layout.SimpleLayout
-
-
-
-
public class SimpleLayout
extends LoggerLayout
- - -

+ + + + + + +SimpleLayout + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.layout +
+�� SimpleLayout

+
+java.lang.Object
+  �̳��� darks.log.layout.LoggerLayout
+      �̳��� darks.log.layout.SimpleLayout
+
+
+
+
public class SimpleLayout
extends LoggerLayout
+ + +

Indicate that it will output the simple message. Such as "level - message" Example: @@ -110,176 +110,176 @@

logd.appender.console.layout=SimpleLayout - SimpleLayout.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
SimpleLayout() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- java.lang.Stringformat(LogMessage message) - -
-          Format log message with convertor
- - - - - - - -
���� darks.log.layout.LoggerLayout �̳еķ���
getConvertor, getPattern, setConvertor, setPattern
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-SimpleLayout

-
-public SimpleLayout()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public java.lang.String format(LogMessage message)
-
-
Format log message with convertor -

-

-
ָ���ߣ�
�� LoggerLayout �е� format
-
-
-
������
message - log message -
���أ�
log message after converted
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + SimpleLayout.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
SimpleLayout() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ java.lang.Stringformat(LogMessage message) + +
+          Format log message with convertor
+ + + + + + + +
���� darks.log.layout.LoggerLayout �̳еķ���
getConvertor, getPattern, setConvertor, setPattern
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+SimpleLayout

+
+public SimpleLayout()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public java.lang.String format(LogMessage message)
+
+
Format log message with convertor +

+

+
ָ���ߣ�
�� LoggerLayout �е� format
+
+
+
������
message - log message +
���أ�
log message after converted
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/layout/class-use/LoggerLayout.html b/docs/darks/log/layout/class-use/LoggerLayout.html index bb8c842..c58a196 100644 --- a/docs/darks/log/layout/class-use/LoggerLayout.html +++ b/docs/darks/log/layout/class-use/LoggerLayout.html @@ -1,305 +1,305 @@ - - - - - - -�� darks.log.layout.LoggerLayout ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.layout.LoggerLayout
��ʹ��

-
- - - - - - - - - - - - - - - - - -
-ʹ�� LoggerLayout ��������
darks.log.appender  
darks.log.appender.impl  
darks.log.layout  
-  -

- - - - - -
-darks.log.appender �� LoggerLayout ��ʹ��
-  -

- - - - - - - - - -
���� LoggerLayout �� darks.log.appender �еķ���
- LoggerLayoutAppender.getLayout() - -
-           
-  -

- - - - - - - - - -
��������Ϊ LoggerLayout �� darks.log.appender �еķ���
- voidAppender.setLayout(LoggerLayout layout) - -
-           
-  -

- - - - - - - - -
��������Ϊ LoggerLayout �� darks.log.appender �еĹ��췽��
Appender(LoggerLayout layout) - -
-           
-  -

- - - - - -
-darks.log.appender.impl �� LoggerLayout ��ʹ��
-  -

- - - - - - - - - - - - - - - - - - - - - - - -
��������Ϊ LoggerLayout �� darks.log.appender.impl �еĹ��췽��
FileAppender(LoggerLayout layout) - -
-           
FileAppender(LoggerLayout layout, - java.io.OutputStream outStream) - -
-           
FileDateSizeAppender(LoggerLayout layout) - -
-           
FileDateSizeAppender(LoggerLayout layout, - java.io.OutputStream outStream) - -
-           
StreamAppender(LoggerLayout layout) - -
-           
StreamAppender(LoggerLayout layout, - java.io.OutputStream outStream) - -
-           
-  -

- - - - - -
-darks.log.layout �� LoggerLayout ��ʹ��
-  -

- - - - - - - - - - - - - -
darks.log.layout �� LoggerLayout ������
- classPatternLayout - -
-          Indicate that use pattern to format message.
- classSimpleLayout - -
-          Indicate that it will output the simple message.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.layout.LoggerLayout ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.layout.LoggerLayout
��ʹ��

+
+ + + + + + + + + + + + + + + + + +
+ʹ�� LoggerLayout ��������
darks.log.appender  
darks.log.appender.impl  
darks.log.layout  
+  +

+ + + + + +
+darks.log.appender �� LoggerLayout ��ʹ��
+  +

+ + + + + + + + + +
���� LoggerLayout �� darks.log.appender �еķ���
+ LoggerLayoutAppender.getLayout() + +
+           
+  +

+ + + + + + + + + +
��������Ϊ LoggerLayout �� darks.log.appender �еķ���
+ voidAppender.setLayout(LoggerLayout layout) + +
+           
+  +

+ + + + + + + + +
��������Ϊ LoggerLayout �� darks.log.appender �еĹ��췽��
Appender(LoggerLayout layout) + +
+           
+  +

+ + + + + +
+darks.log.appender.impl �� LoggerLayout ��ʹ��
+  +

+ + + + + + + + + + + + + + + + + + + + + + + +
��������Ϊ LoggerLayout �� darks.log.appender.impl �еĹ��췽��
FileAppender(LoggerLayout layout) + +
+           
FileAppender(LoggerLayout layout, + java.io.OutputStream outStream) + +
+           
FileDateSizeAppender(LoggerLayout layout) + +
+           
FileDateSizeAppender(LoggerLayout layout, + java.io.OutputStream outStream) + +
+           
StreamAppender(LoggerLayout layout) + +
+           
StreamAppender(LoggerLayout layout, + java.io.OutputStream outStream) + +
+           
+  +

+ + + + + +
+darks.log.layout �� LoggerLayout ��ʹ��
+  +

+ + + + + + + + + + + + + +
darks.log.layout �� LoggerLayout ������
+ classPatternLayout + +
+          Indicate that use pattern to format message.
+ classSimpleLayout + +
+          Indicate that it will output the simple message.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/layout/class-use/PatternLayout.html b/docs/darks/log/layout/class-use/PatternLayout.html index e956017..9dcc77b 100644 --- a/docs/darks/log/layout/class-use/PatternLayout.html +++ b/docs/darks/log/layout/class-use/PatternLayout.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.layout.PatternLayout ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.layout.PatternLayout
��ʹ��

-
-û�� darks.log.layout.PatternLayout ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.layout.PatternLayout ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.layout.PatternLayout
��ʹ��

+
+û�� darks.log.layout.PatternLayout ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/layout/class-use/SimpleLayout.html b/docs/darks/log/layout/class-use/SimpleLayout.html index 27e500d..3abc5cc 100644 --- a/docs/darks/log/layout/class-use/SimpleLayout.html +++ b/docs/darks/log/layout/class-use/SimpleLayout.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.layout.SimpleLayout ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.layout.SimpleLayout
��ʹ��

-
-û�� darks.log.layout.SimpleLayout ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.layout.SimpleLayout ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.layout.SimpleLayout
��ʹ��

+
+û�� darks.log.layout.SimpleLayout ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/layout/package-frame.html b/docs/darks/log/layout/package-frame.html index 6de91b5..e12c54c 100644 --- a/docs/darks/log/layout/package-frame.html +++ b/docs/darks/log/layout/package-frame.html @@ -1,36 +1,36 @@ - - - - - - -darks.log.layout - - - - - - - - - - - -darks.log.layout - - - - -
-��  - -
-LoggerLayout -
-PatternLayout -
-SimpleLayout
- - - - + + + + + + +darks.log.layout + + + + + + + + + + + +darks.log.layout + + + + +
+��  + +
+LoggerLayout +
+PatternLayout +
+SimpleLayout
+ + + + diff --git a/docs/darks/log/layout/package-summary.html b/docs/darks/log/layout/package-summary.html index 9d5116f..c77bd34 100644 --- a/docs/darks/log/layout/package-summary.html +++ b/docs/darks/log/layout/package-summary.html @@ -1,164 +1,164 @@ - - - - - - -darks.log.layout - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.layout -

- - - - - - - + + + + + + +darks.log.layout + + + + + + + + + + + + +
+ + + + + +
-��ժҪ
LoggerLayout
+ + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.layout +

+ + + + + + + - - - - - - - - - -
+��ժҪ
LoggerLayout Logger layout.You can use it to format message or custom how to output - message.
PatternLayoutIndicate that use pattern to format message.
SimpleLayoutIndicate that it will output the simple message.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + message. + + +PatternLayout +Indicate that use pattern to format message. + + +SimpleLayout +Indicate that it will output the simple message. + + +  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/layout/package-tree.html b/docs/darks/log/layout/package-tree.html index b2c37a7..0504cd9 100644 --- a/docs/darks/log/layout/package-tree.html +++ b/docs/darks/log/layout/package-tree.html @@ -1,153 +1,153 @@ - - - - - - -darks.log.layout ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.layout �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.layout ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.layout �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/layout/package-use.html b/docs/darks/log/layout/package-use.html index 9da524f..d17f38c 100644 --- a/docs/darks/log/layout/package-use.html +++ b/docs/darks/log/layout/package-use.html @@ -1,209 +1,209 @@ - - - - - - -������ darks.log.layout ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.layout
��ʹ��

-
- - - - - - - - - - - - - - - - - -
-ʹ�� darks.log.layout ��������
darks.log.appender  
darks.log.appender.impl  
darks.log.layout  
-  -

- - - - - - - + +
-darks.log.appender ʹ�õ� darks.log.layout �е���
LoggerLayout - -
+ + + + + + +������ darks.log.layout ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.layout
��ʹ��

+
+ + + + + + + + + + + + + + + + + +
+ʹ�� darks.log.layout ��������
darks.log.appender  
darks.log.appender.impl  
darks.log.layout  
+  +

+ + + + + + + - -
+darks.log.appender ʹ�õ� darks.log.layout �е���
LoggerLayout + +
          Logger layout.You can use it to format message or custom how to output - message.
-  -

- - - - - - - + +
-darks.log.appender.impl ʹ�õ� darks.log.layout �е���
LoggerLayout - -
+ message.
+  +

+ + + + + + + - -
+darks.log.appender.impl ʹ�õ� darks.log.layout �е���
LoggerLayout + +
          Logger layout.You can use it to format message or custom how to output - message.
-  -

- - - - - - - + +
-darks.log.layout ʹ�õ� darks.log.layout �е���
LoggerLayout - -
+ message.
+  +

+ + + + + + + - -
+darks.log.layout ʹ�õ� darks.log.layout �е���
LoggerLayout + +
          Logger layout.You can use it to format message or custom how to output - message.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + message.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/ClassFinder.html b/docs/darks/log/loader/ClassFinder.html index c012d61..c5b5dc1 100644 --- a/docs/darks/log/loader/ClassFinder.html +++ b/docs/darks/log/loader/ClassFinder.html @@ -1,258 +1,258 @@ - - - - - - -ClassFinder - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.loader -
-�� ClassFinder

-
-java.lang.Object
-  �̳��� darks.log.loader.ClassFinder
-
-
-
-
public final class ClassFinder
extends java.lang.Object
- - -

+ + + + + + +ClassFinder + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.loader +
+�� ClassFinder

+
+java.lang.Object
+  �̳��� darks.log.loader.ClassFinder
+
+
+
+
public final class ClassFinder
extends java.lang.Object
+ + +

Indicate to find class from target directories. - ClassFinder.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - - - -
-����ժҪ
-static java.lang.Class<?>findClass(java.lang.String className, - java.lang.String defaultDir) - -
-          Find class from target directory.
-static java.lang.Class<?>findClass(java.lang.String className, - java.lang.String[] defaultDirs) - -
-          Find class from target directories.
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-������ϸ��Ϣ
- -

-findClass

-
-public static java.lang.Class<?> findClass(java.lang.String className,
-                                           java.lang.String defaultDir)
-
-
Find class from target directory. -

-

-
������
className - Class name
defaultDir - Target directory -
���أ�
If has found, return class object. Otherwise return null.
-
-
-
- -

-findClass

-
-public static java.lang.Class<?> findClass(java.lang.String className,
-                                           java.lang.String[] defaultDirs)
-
-
Find class from target directories. -

-

-
������
className - Class name
defaultDirs - Target directories -
���أ�
If has found, return class object. Otherwise return null.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + ClassFinder.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + + +
+����ժҪ
+static java.lang.Class<?>findClass(java.lang.String className, + java.lang.String defaultDir) + +
+          Find class from target directory.
+static java.lang.Class<?>findClass(java.lang.String className, + java.lang.String[] defaultDirs) + +
+          Find class from target directories.
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+������ϸ��Ϣ
+ +

+findClass

+
+public static java.lang.Class<?> findClass(java.lang.String className,
+                                           java.lang.String defaultDir)
+
+
Find class from target directory. +

+

+
������
className - Class name
defaultDir - Target directory +
���أ�
If has found, return class object. Otherwise return null.
+
+
+
+ +

+findClass

+
+public static java.lang.Class<?> findClass(java.lang.String className,
+                                           java.lang.String[] defaultDirs)
+
+
Find class from target directories. +

+

+
������
className - Class name
defaultDirs - Target directories +
���أ�
If has found, return class object. Otherwise return null.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/ConfigLoader.html b/docs/darks/log/loader/ConfigLoader.html index 02387be..f0baa1b 100644 --- a/docs/darks/log/loader/ConfigLoader.html +++ b/docs/darks/log/loader/ConfigLoader.html @@ -1,383 +1,361 @@ - - - - - - -ConfigLoader - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.loader -
-�� ConfigLoader

-
-java.lang.Object
-  �̳��� darks.log.loader.ConfigLoader
-
-
-
-
public class ConfigLoader
extends java.lang.Object
- - -

+ + + + + + +ConfigLoader + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.loader +
+�� ConfigLoader

+
+java.lang.Object
+  �̳��� darks.log.loader.ConfigLoader
+
+
+
+
public class ConfigLoader
extends java.lang.Object
+ + +

Indicate to load logger configuration If you want logger to work in the android environment, you must configure android application by "Logger.Android.setApplication(...);" before loaded. - ConfigLoader.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - - - - - - -
-�ֶ�ժҪ
-static java.lang.StringCONFIG_EXT - -
-           
-static java.lang.StringCONFIG_FILE - -
-           
-static java.lang.StringCONFIG_FILE_NAME - -
-           
-  - - - - - - - - - - -
-���췽��ժҪ
ConfigLoader() - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- booleaninitConfig() - -
-          Initialize configuration
- booleanloadConfig() - -
-          Load config file from Java/src root
- booleanloadConfig(android.content.Context ctx) - -
-          Load config from android environment
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-�ֶ���ϸ��Ϣ
- -

-CONFIG_EXT

-
-public static final java.lang.String CONFIG_EXT
-
-
-
������
�����ֶ�ֵ
-
-
- -

-CONFIG_FILE

-
-public static final java.lang.String CONFIG_FILE
-
-
-
������
�����ֶ�ֵ
-
-
- -

-CONFIG_FILE_NAME

-
-public static final java.lang.String CONFIG_FILE_NAME
-
-
-
������
�����ֶ�ֵ
-
- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-ConfigLoader

-
-public ConfigLoader()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-initConfig

-
-public boolean initConfig()
-
-
Initialize configuration -

-

- -
���أ�
If succeed to initialize, return true.
-
-
-
- -

-loadConfig

-
-public boolean loadConfig()
-
-
Load config file from Java/src root -

-

- -
���أ�
If succeed to load config, return true.
-
-
-
- -

-loadConfig

-
-public boolean loadConfig(android.content.Context ctx)
-
-
Load config from android environment -

-

-
������
ctx - Android context/application -
���أ�
If succeed to load config, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + ConfigLoader.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+�ֶ�ժҪ
+static java.lang.StringCONFIG_EXT + +
+           
+static java.lang.StringCONFIG_FILE + +
+           
+static java.lang.StringCONFIG_FILE_NAME + +
+           
+  + + + + + + + + + + +
+���췽��ժҪ
ConfigLoader() + +
+           
+  + + + + + + + + + + + + + + + +
+����ժҪ
+ LoadergetDefaultLoader() + +
+          Load config file from Java/src root
+ booleaninitConfig() + +
+          Initialize configuration
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+�ֶ���ϸ��Ϣ
+ +

+CONFIG_EXT

+
+public static final java.lang.String CONFIG_EXT
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+CONFIG_FILE

+
+public static final java.lang.String CONFIG_FILE
+
+
+
������
�����ֶ�ֵ
+
+
+ +

+CONFIG_FILE_NAME

+
+public static final java.lang.String CONFIG_FILE_NAME
+
+
+
������
�����ֶ�ֵ
+
+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+ConfigLoader

+
+public ConfigLoader()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getDefaultLoader

+
+public Loader getDefaultLoader()
+
+
Load config file from Java/src root +

+

+ +
���أ�
If succeed to load config, return true.
+
+
+
+ +

+initConfig

+
+public boolean initConfig()
+
+
Initialize configuration +

+

+ +
���أ�
If succeed to initialize, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/Loader.html b/docs/darks/log/loader/Loader.html index c94357c..e894eaa 100644 --- a/docs/darks/log/loader/Loader.html +++ b/docs/darks/log/loader/Loader.html @@ -1,266 +1,304 @@ - - - - - - -Loader - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.loader -
-�� Loader

-
-java.lang.Object
-  �̳��� darks.log.loader.Loader
-
-
-
ֱ����֪���ࣺ
PropertiesLoader
-
-
-
-
public abstract class Loader
extends java.lang.Object
- - -

-Loader.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua 2014-2-18
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
Loader() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
-abstract  booleanloadConfig(java.io.InputStream ins) - -
-          Load config
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-Loader

-
-public Loader()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-loadConfig

-
-public abstract boolean loadConfig(java.io.InputStream ins)
-
-
Load config -

-

-
������
ins - Config input stream -
���أ�
If succeed to load config, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +Loader + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.loader +
+�� Loader

+
+java.lang.Object
+  �̳��� darks.log.loader.Loader
+
+
+
ֱ����֪���ࣺ
PropertiesLoader
+
+
+
+
public abstract class Loader
extends java.lang.Object
+ + +

+Loader.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua 2014-2-18
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
Loader(java.io.InputStream ins) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ java.io.InputStreamgetInputStream() + +
+           
+abstract  booleanloadConfig() + +
+          Load config
+ voidsetInputStream(java.io.InputStream inputStream) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+Loader

+
+public Loader(java.io.InputStream ins)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getInputStream

+
+public java.io.InputStream getInputStream()
+
+
+
+
+
+
+ +

+loadConfig

+
+public abstract boolean loadConfig()
+
+
Load config +

+

+ +
���أ�
If succeed to load config, return true.
+
+
+
+ +

+setInputStream

+
+public void setInputStream(java.io.InputStream inputStream)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/PropertiesLoader.html b/docs/darks/log/loader/PropertiesLoader.html index 5a2ee14..c20c143 100644 --- a/docs/darks/log/loader/PropertiesLoader.html +++ b/docs/darks/log/loader/PropertiesLoader.html @@ -1,269 +1,278 @@ - - - - - - -PropertiesLoader - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.loader -
-�� PropertiesLoader

-
-java.lang.Object
-  �̳��� darks.log.loader.Loader
-      �̳��� darks.log.loader.PropertiesLoader
-
-
-
-
public class PropertiesLoader
extends Loader
- - -

+ + + + + + +PropertiesLoader + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.loader +
+�� PropertiesLoader

+
+java.lang.Object
+  �̳��� darks.log.loader.Loader
+      �̳��� darks.log.loader.PropertiesLoader
+
+
+
+
public class PropertiesLoader
extends Loader
+ + +

Indicate to load config file from properties file. - PropertiesLoader.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
PropertiesLoader() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanloadConfig(java.io.InputStream ins) - -
-          Load config
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-PropertiesLoader

-
-public PropertiesLoader()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-loadConfig

-
-public boolean loadConfig(java.io.InputStream ins)
-
-
Load config -

-

-
ָ���ߣ�
�� Loader �е� loadConfig
-
-
-
������
ins - Config input stream -
���أ�
If succeed to load config, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + PropertiesLoader.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
PropertiesLoader(java.io.InputStream ins) + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanloadConfig() + +
+          Load config
+ + + + + + + +
���� darks.log.loader.Loader �̳еķ���
getInputStream, setInputStream
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+PropertiesLoader

+
+public PropertiesLoader(java.io.InputStream ins)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+loadConfig

+
+public boolean loadConfig()
+
+
Load config +

+

+
ָ���ߣ�
�� Loader �е� loadConfig
+
+
+ +
���أ�
If succeed to load config, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/class-use/ClassFinder.html b/docs/darks/log/loader/class-use/ClassFinder.html index efa0b4a..c9d65de 100644 --- a/docs/darks/log/loader/class-use/ClassFinder.html +++ b/docs/darks/log/loader/class-use/ClassFinder.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.loader.ClassFinder ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.loader.ClassFinder
��ʹ��

-
-û�� darks.log.loader.ClassFinder ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.loader.ClassFinder ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.loader.ClassFinder
��ʹ��

+
+û�� darks.log.loader.ClassFinder ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/class-use/ConfigLoader.html b/docs/darks/log/loader/class-use/ConfigLoader.html index 3a9d13c..d3d5fc4 100644 --- a/docs/darks/log/loader/class-use/ConfigLoader.html +++ b/docs/darks/log/loader/class-use/ConfigLoader.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.loader.ConfigLoader ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.loader.ConfigLoader
��ʹ��

-
-û�� darks.log.loader.ConfigLoader ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.loader.ConfigLoader ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.loader.ConfigLoader
��ʹ��

+
+û�� darks.log.loader.ConfigLoader ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/class-use/Loader.html b/docs/darks/log/loader/class-use/Loader.html index 27960e2..15bed0d 100644 --- a/docs/darks/log/loader/class-use/Loader.html +++ b/docs/darks/log/loader/class-use/Loader.html @@ -1,178 +1,223 @@ - - - - - - -�� darks.log.loader.Loader ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.loader.Loader
��ʹ��

-
- - - - - - - - - -
-ʹ�� Loader ��������
darks.log.loader  
-  -

- - - - - -
-darks.log.loader �� Loader ��ʹ��
-  -

- - - - - - - - - -
darks.log.loader �� Loader ������
- classPropertiesLoader - -
-          Indicate to load config file from properties file.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.loader.Loader ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.loader.Loader
��ʹ��

+
+ + + + + + + + + + + + + +
+ʹ�� Loader ��������
darks.log  
darks.log.loader  
+  +

+ + + + + +
+darks.log �� Loader ��ʹ��
+  +

+ + + + + + + + + +
���� Loader �� darks.log �еķ���
+ LoaderAndroidConfig.getLoader() + +
+          Get loader or android environment
+  +

+ + + + + +
+darks.log.loader �� Loader ��ʹ��
+  +

+ + + + + + + + + +
darks.log.loader �� Loader ������
+ classPropertiesLoader + +
+          Indicate to load config file from properties file.
+  +

+ + + + + + + + + +
���� Loader �� darks.log.loader �еķ���
+ LoaderConfigLoader.getDefaultLoader() + +
+          Load config file from Java/src root
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/class-use/PropertiesLoader.html b/docs/darks/log/loader/class-use/PropertiesLoader.html index 0e8cb01..ca7911b 100644 --- a/docs/darks/log/loader/class-use/PropertiesLoader.html +++ b/docs/darks/log/loader/class-use/PropertiesLoader.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.loader.PropertiesLoader ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.loader.PropertiesLoader
��ʹ��

-
-û�� darks.log.loader.PropertiesLoader ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.loader.PropertiesLoader ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.loader.PropertiesLoader
��ʹ��

+
+û�� darks.log.loader.PropertiesLoader ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/package-frame.html b/docs/darks/log/loader/package-frame.html index a9dffd8..25532b9 100644 --- a/docs/darks/log/loader/package-frame.html +++ b/docs/darks/log/loader/package-frame.html @@ -1,38 +1,38 @@ - - - - - - -darks.log.loader - - - - - - - - - - - -darks.log.loader - - - - -
-��  - -
-ClassFinder -
-ConfigLoader -
-Loader -
-PropertiesLoader
- - - - + + + + + + +darks.log.loader + + + + + + + + + + + +darks.log.loader + + + + +
+��  + +
+ClassFinder +
+ConfigLoader +
+Loader +
+PropertiesLoader
+ + + + diff --git a/docs/darks/log/loader/package-summary.html b/docs/darks/log/loader/package-summary.html index 0b048ad..76d1272 100644 --- a/docs/darks/log/loader/package-summary.html +++ b/docs/darks/log/loader/package-summary.html @@ -1,169 +1,169 @@ - - - - - - -darks.log.loader - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.loader -

- - - - - - - - - - - + + + + + + +darks.log.loader + + + + + + + + + + + + +
+ + + + + +
-��ժҪ
ClassFinderIndicate to find class from target directories.
ConfigLoader
+ + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.loader +

+ + + + + + + + + + + - - - - - - - - - -
+��ժҪ
ClassFinderIndicate to find class from target directories.
ConfigLoader Indicate to load logger configuration If you want logger to work in the android environment, you must configure android application by - "Logger.Android.setApplication(...);" before loaded.
LoaderLoader.java
PropertiesLoaderIndicate to load config file from properties file.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + "Logger.Android.setApplication(...);" before loaded. + + +Loader +Loader.java + + +PropertiesLoader +Indicate to load config file from properties file. + + +  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/package-tree.html b/docs/darks/log/loader/package-tree.html index b0b1856..808c97a 100644 --- a/docs/darks/log/loader/package-tree.html +++ b/docs/darks/log/loader/package-tree.html @@ -1,153 +1,153 @@ - - - - - - -darks.log.loader ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.loader �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.loader ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.loader �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/loader/package-use.html b/docs/darks/log/loader/package-use.html index 82146ec..8a1c19e 100644 --- a/docs/darks/log/loader/package-use.html +++ b/docs/darks/log/loader/package-use.html @@ -1,168 +1,187 @@ - - - - - - -������ darks.log.loader ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.loader
��ʹ��

-
- - - - - - - - - -
-ʹ�� darks.log.loader ��������
darks.log.loader  
-  -

- - - - - - - - -
-darks.log.loader ʹ�õ� darks.log.loader �е���
Loader - -
-          Loader.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.loader ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.loader
��ʹ��

+
+ + + + + + + + + + + + + +
+ʹ�� darks.log.loader ��������
darks.log  
darks.log.loader  
+  +

+ + + + + + + + +
+darks.log ʹ�õ� darks.log.loader �е���
Loader + +
+          Loader.java
+  +

+ + + + + + + + +
+darks.log.loader ʹ�õ� darks.log.loader �е���
Loader + +
+          Loader.java
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/package-frame.html b/docs/darks/log/package-frame.html index 8b4ca10..1b426ee 100644 --- a/docs/darks/log/package-frame.html +++ b/docs/darks/log/package-frame.html @@ -1,54 +1,54 @@ - - - - - - -darks.log - - - - - - - - - - - -darks.log - - - - -
-��  - -
-AndroidConfig -
-Category -
-DefaultLogger -
-InvalidLogger -
-Level -
-Logger -
-LoggerConfig -
-LoggerFactory -
-LoggerHolder -
-LoggerThread -
-LogMessage -
-ThrowableInfo
- - - - + + + + + + +darks.log + + + + + + + + + + + +darks.log + + + + +
+��  + +
+AndroidConfig +
+Category +
+DefaultLogger +
+InvalidLogger +
+Level +
+Logger +
+LoggerConfig +
+LoggerFactory +
+LoggerHolder +
+LoggerThread +
+LogMessage +
+ThrowableInfo
+ + + + diff --git a/docs/darks/log/package-summary.html b/docs/darks/log/package-summary.html index e0acb5d..dc1f43f 100644 --- a/docs/darks/log/package-summary.html +++ b/docs/darks/log/package-summary.html @@ -1,205 +1,205 @@ - - - - - - -darks.log - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log -

- - - - - - - - - - - - - - - + + + + + + +darks.log + + + + + + + + + + + + +
+ + + + + +
-��ժҪ
AndroidConfigConfigure android application required when logs find configuration file.
CategoryRecord logger's category information.Include appenders, level, name and so on.
DefaultLogger
+ + + + + + + + + +
+ +
+ + + +
+

+������ darks.log +

+ + + + + + + + + + + + + + + - - - - - - - - - - - + DefaultLogger.java + + + + + + + + + + + - - - + Create a logger object by class object or tag string. + + + - - - - - - - - - - - - - - - - - - - - - -
+��ժҪ
AndroidConfigConfigure android application required when logs find configuration file.
CategoryRecord logger's category information.Include appenders, level, name and so on.
DefaultLogger Default logger object used to log message and do appenders by default - DefaultLogger.java
InvalidLoggerIndicate log is invalid.
LevelIndicate the log message's level.
Logger
InvalidLoggerIndicate log is invalid.
LevelIndicate the log message's level.
Logger Main logger class for developer - Create a logger object by class object or tag string.
LoggerConfig
LoggerConfig Logger configuration - LoggerConfig.java
LoggerFactoryLogger factory is used to create logger object.
LoggerHolderAppenders's holder for async appender.
LoggerThreadLogger thread is used to process async appenders.
LogMessageLogger message object.
ThrowableInfoLog message throwable information.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + LoggerConfig.java + + +LoggerFactory +Logger factory is used to create logger object. + + +LoggerHolder +Appenders's holder for async appender. + + +LoggerThread +Logger thread is used to process async appenders. + + +LogMessage +Logger message object. + + +ThrowableInfo +Log message throwable information. + + +  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/package-tree.html b/docs/darks/log/package-tree.html index f99b859..967d1ee 100644 --- a/docs/darks/log/package-tree.html +++ b/docs/darks/log/package-tree.html @@ -1,159 +1,159 @@ - - - - - - -darks.log ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/package-use.html b/docs/darks/log/package-use.html index 82be502..e5e3236 100644 --- a/docs/darks/log/package-use.html +++ b/docs/darks/log/package-use.html @@ -1,334 +1,334 @@ - - - - - - -������ darks.log ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log
��ʹ��

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-ʹ�� darks.log ��������
darks.log  
darks.log.appender  
darks.log.appender.impl  
darks.log.filter  
darks.log.layout  
darks.log.pattern  
darks.log.pattern.parser  
-  -

- - - - - - - - - - - - - - - - + + + + + + + + + + +
-darks.log ʹ�õ� darks.log �е���
AndroidConfig - -
-          Configure android application required when logs find configuration file.
Category - -
-          Record logger's category information.Include appenders, level, name and so on.
Level - -
-          Indicate the log message's level.
Logger - -
+ + + + + + +������ darks.log ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log
��ʹ��

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ʹ�� darks.log ��������
darks.log  
darks.log.appender  
darks.log.appender.impl  
darks.log.filter  
darks.log.layout  
darks.log.pattern  
darks.log.pattern.parser  
+  +

+ + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - -
+darks.log ʹ�õ� darks.log �е���
AndroidConfig + +
+          Configure android application required when logs find configuration file.
Category + +
+          Record logger's category information.Include appenders, level, name and so on.
Level + +
+          Indicate the log message's level.
Logger + +
          Main logger class for developer - Create a logger object by class object or tag string.
LoggerConfig - -
+ Create a logger object by class object or tag string.
LoggerConfig + +
          Logger configuration - LoggerConfig.java
LoggerHolder - -
-          Appenders's holder for async appender.
LogMessage - -
-          Logger message object.
ThrowableInfo - -
-          Log message throwable information.
-  -

- - - - - - - - -
-darks.log.appender ʹ�õ� darks.log �е���
LogMessage - -
-          Logger message object.
-  -

- - - - - - - - -
-darks.log.appender.impl ʹ�õ� darks.log �е���
LogMessage - -
-          Logger message object.
-  -

- - - - - - - - - - - -
-darks.log.filter ʹ�õ� darks.log �е���
Level - -
-          Indicate the log message's level.
LogMessage - -
-          Logger message object.
-  -

- - - - - - - - -
-darks.log.layout ʹ�õ� darks.log �е���
LogMessage - -
-          Logger message object.
-  -

- - - - - - - - -
-darks.log.pattern ʹ�õ� darks.log �е���
LogMessage - -
-          Logger message object.
-  -

- - - - - - - - -
-darks.log.pattern.parser ʹ�õ� darks.log �е���
LogMessage - -
-          Logger message object.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + LoggerConfig.java
LoggerHolder + +
+          Appenders's holder for async appender.
LogMessage + +
+          Logger message object.
ThrowableInfo + +
+          Log message throwable information.
+  +

+ + + + + + + + +
+darks.log.appender ʹ�õ� darks.log �е���
LogMessage + +
+          Logger message object.
+  +

+ + + + + + + + +
+darks.log.appender.impl ʹ�õ� darks.log �е���
LogMessage + +
+          Logger message object.
+  +

+ + + + + + + + + + + +
+darks.log.filter ʹ�õ� darks.log �е���
Level + +
+          Indicate the log message's level.
LogMessage + +
+          Logger message object.
+  +

+ + + + + + + + +
+darks.log.layout ʹ�õ� darks.log �е���
LogMessage + +
+          Logger message object.
+  +

+ + + + + + + + +
+darks.log.pattern ʹ�õ� darks.log �е���
LogMessage + +
+          Logger message object.
+  +

+ + + + + + + + +
+darks.log.pattern.parser ʹ�õ� darks.log �е���
LogMessage + +
+          Logger message object.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/ConvertPattern.html b/docs/darks/log/pattern/ConvertPattern.html index b9999ac..00000c5 100644 --- a/docs/darks/log/pattern/ConvertPattern.html +++ b/docs/darks/log/pattern/ConvertPattern.html @@ -1,243 +1,243 @@ - - - - - - -ConvertPattern - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern -
-�ӿ� ConvertPattern

-
-
������֪ʵ���ࣺ
DefaultPattern
-
-
-
-
public interface ConvertPattern
- - -

+ + + + + + +ConvertPattern + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern +
+�ӿ� ConvertPattern

+
+
������֪ʵ���ࣺ
DefaultPattern
+
+
+
+
public interface ConvertPattern
+ + +

Indicate to convert message to target pattern format. - ConvertPattern.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - - - -
-����ժҪ
- java.lang.Stringformat(LogMessage message) - -
-          Format message by pattern
- voidsetPattern(java.lang.String pattern) - -
-          Set pattern string
-  -

- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-java.lang.String format(LogMessage message)
-
-
Format message by pattern -

-

-
������
message - Log message -
���أ�
Log message after formated
-
-
-
- -

-setPattern

-
-void setPattern(java.lang.String pattern)
-
-
Set pattern string -

-

-
������
pattern - Pattern string
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + ConvertPattern.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + + +
+����ժҪ
+ java.lang.Stringformat(LogMessage message) + +
+          Format message by pattern
+ voidsetPattern(java.lang.String pattern) + +
+          Set pattern string
+  +

+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+java.lang.String format(LogMessage message)
+
+
Format message by pattern +

+

+
������
message - Log message +
���أ�
Log message after formated
+
+
+
+ +

+setPattern

+
+void setPattern(java.lang.String pattern)
+
+
Set pattern string +

+

+
������
pattern - Pattern string
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/DefaultPattern.html b/docs/darks/log/pattern/DefaultPattern.html index bc87de3..41586d2 100644 --- a/docs/darks/log/pattern/DefaultPattern.html +++ b/docs/darks/log/pattern/DefaultPattern.html @@ -1,108 +1,108 @@ - - - - - - -DefaultPattern - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern -
-�� DefaultPattern

-
-java.lang.Object
-  �̳��� darks.log.pattern.DefaultPattern
-
-
-
������ʵ�ֵĽӿڣ�
ConvertPattern
-
-
-
-
public class DefaultPattern
extends java.lang.Object
implements ConvertPattern
- - -

+ + + + + + +DefaultPattern + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern +
+�� DefaultPattern

+
+java.lang.Object
+  �̳��� darks.log.pattern.DefaultPattern
+
+
+
������ʵ�ֵĽӿڣ�
ConvertPattern
+
+
+
+
public class DefaultPattern
extends java.lang.Object
implements ConvertPattern
+ + +

Indicate to format message by default pattern. Note: @@ -134,227 +134,227 @@

logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} [%f][%p] - %m%n - DefaultPattern.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - -
-���췽��ժҪ
DefaultPattern() - -
-           
DefaultPattern(java.lang.String pattern) - -
-           
-  - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- java.lang.Stringformat(LogMessage message) - -
-          Format message by pattern
- java.lang.StringgetPattern() - -
-           
- voidsetPattern(java.lang.String pattern) - -
-          Set pattern string
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-DefaultPattern

-
-public DefaultPattern()
-
-
-
- -

-DefaultPattern

-
-public DefaultPattern(java.lang.String pattern)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public java.lang.String format(LogMessage message)
-
-
Format message by pattern -

-

-
ָ���ߣ�
�ӿ� ConvertPattern �е� format
-
-
-
������
message - Log message -
���أ�
Log message after formated
-
-
-
- -

-getPattern

-
-public java.lang.String getPattern()
-
-
-
-
-
-
-
-
-
- -

-setPattern

-
-public void setPattern(java.lang.String pattern)
-
-
Set pattern string -

-

-
ָ���ߣ�
�ӿ� ConvertPattern �е� setPattern
-
-
-
������
pattern - Pattern string
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + DefaultPattern.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + +
+���췽��ժҪ
DefaultPattern() + +
+           
DefaultPattern(java.lang.String pattern) + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ java.lang.Stringformat(LogMessage message) + +
+          Format message by pattern
+ java.lang.StringgetPattern() + +
+           
+ voidsetPattern(java.lang.String pattern) + +
+          Set pattern string
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+DefaultPattern

+
+public DefaultPattern()
+
+
+
+ +

+DefaultPattern

+
+public DefaultPattern(java.lang.String pattern)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public java.lang.String format(LogMessage message)
+
+
Format message by pattern +

+

+
ָ���ߣ�
�ӿ� ConvertPattern �е� format
+
+
+
������
message - Log message +
���أ�
Log message after formated
+
+
+
+ +

+getPattern

+
+public java.lang.String getPattern()
+
+
+
+
+
+
+
+
+
+ +

+setPattern

+
+public void setPattern(java.lang.String pattern)
+
+
Set pattern string +

+

+
ָ���ߣ�
�ӿ� ConvertPattern �е� setPattern
+
+
+
������
pattern - Pattern string
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/class-use/ConvertPattern.html b/docs/darks/log/pattern/class-use/ConvertPattern.html index 6d4b651..47a12e7 100644 --- a/docs/darks/log/pattern/class-use/ConvertPattern.html +++ b/docs/darks/log/pattern/class-use/ConvertPattern.html @@ -1,223 +1,223 @@ - - - - - - -�ӿ� darks.log.pattern.ConvertPattern ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�ӿ� darks.log.pattern.ConvertPattern
��ʹ��

-
- - - - - - - - - - - - - -
-ʹ�� ConvertPattern ��������
darks.log.layout  
darks.log.pattern  
-  -

- - - - - -
-darks.log.layout �� ConvertPattern ��ʹ��
-  -

- - - - - - - - - -
���� ConvertPattern �� darks.log.layout �еķ���
- ConvertPatternLoggerLayout.getConvertor() - -
-           
-  -

- - - - - - - - - -
��������Ϊ ConvertPattern �� darks.log.layout �еķ���
- voidLoggerLayout.setConvertor(ConvertPattern convertor) - -
-           
-  -

- - - - - -
-darks.log.pattern �� ConvertPattern ��ʹ��
-  -

- - - - - - - - - -
ʵ�� ConvertPattern �� darks.log.pattern �е���
- classDefaultPattern - -
-          Indicate to format message by default pattern.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�ӿ� darks.log.pattern.ConvertPattern ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�ӿ� darks.log.pattern.ConvertPattern
��ʹ��

+
+ + + + + + + + + + + + + +
+ʹ�� ConvertPattern ��������
darks.log.layout  
darks.log.pattern  
+  +

+ + + + + +
+darks.log.layout �� ConvertPattern ��ʹ��
+  +

+ + + + + + + + + +
���� ConvertPattern �� darks.log.layout �еķ���
+ ConvertPatternLoggerLayout.getConvertor() + +
+           
+  +

+ + + + + + + + + +
��������Ϊ ConvertPattern �� darks.log.layout �еķ���
+ voidLoggerLayout.setConvertor(ConvertPattern convertor) + +
+           
+  +

+ + + + + +
+darks.log.pattern �� ConvertPattern ��ʹ��
+  +

+ + + + + + + + + +
ʵ�� ConvertPattern �� darks.log.pattern �е���
+ classDefaultPattern + +
+          Indicate to format message by default pattern.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/class-use/DefaultPattern.html b/docs/darks/log/pattern/class-use/DefaultPattern.html index 9c1cb8d..2e4f503 100644 --- a/docs/darks/log/pattern/class-use/DefaultPattern.html +++ b/docs/darks/log/pattern/class-use/DefaultPattern.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.DefaultPattern ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.DefaultPattern
��ʹ��

-
-û�� darks.log.pattern.DefaultPattern ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.DefaultPattern ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.DefaultPattern
��ʹ��

+
+û�� darks.log.pattern.DefaultPattern ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/package-frame.html b/docs/darks/log/pattern/package-frame.html index ccf4963..6727287 100644 --- a/docs/darks/log/pattern/package-frame.html +++ b/docs/darks/log/pattern/package-frame.html @@ -1,43 +1,43 @@ - - - - - - -darks.log.pattern - - - - - - - - - - - -darks.log.pattern - - - - -
-�ӿ�  - -
-ConvertPattern
- - - - - - -
-��  - -
-DefaultPattern
- - - - + + + + + + +darks.log.pattern + + + + + + + + + + + +darks.log.pattern + + + + +
+�ӿ�  + +
+ConvertPattern
+ + + + + + +
+��  + +
+DefaultPattern
+ + + + diff --git a/docs/darks/log/pattern/package-summary.html b/docs/darks/log/pattern/package-summary.html index bd56d19..e531176 100644 --- a/docs/darks/log/pattern/package-summary.html +++ b/docs/darks/log/pattern/package-summary.html @@ -1,169 +1,169 @@ - - - - - - -darks.log.pattern - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.pattern -

- - - - - - - - - -
-�ӿ�ժҪ
ConvertPatternIndicate to convert message to target pattern format.
-  - -

- - - - - - - - - -
-��ժҪ
DefaultPatternIndicate to format message by default pattern.
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.pattern + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.pattern +

+ + + + + + + + + +
+�ӿ�ժҪ
ConvertPatternIndicate to convert message to target pattern format.
+  + +

+ + + + + + + + + +
+��ժҪ
DefaultPatternIndicate to format message by default pattern.
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/package-tree.html b/docs/darks/log/pattern/package-tree.html index b296c76..0172fab 100644 --- a/docs/darks/log/pattern/package-tree.html +++ b/docs/darks/log/pattern/package-tree.html @@ -1,157 +1,157 @@ - - - - - - -darks.log.pattern ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.pattern �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -

-�ӿڷֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.pattern ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.pattern �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +

+�ӿڷֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/package-use.html b/docs/darks/log/pattern/package-use.html index 1ecb1ae..9ba7379 100644 --- a/docs/darks/log/pattern/package-use.html +++ b/docs/darks/log/pattern/package-use.html @@ -1,187 +1,187 @@ - - - - - - -������ darks.log.pattern ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.pattern
��ʹ��

-
- - - - - - - - - - - - - -
-ʹ�� darks.log.pattern ��������
darks.log.layout  
darks.log.pattern  
-  -

- - - - - - - - -
-darks.log.layout ʹ�õ� darks.log.pattern �е���
ConvertPattern - -
-          Indicate to convert message to target pattern format.
-  -

- - - - - - - - -
-darks.log.pattern ʹ�õ� darks.log.pattern �е���
ConvertPattern - -
-          Indicate to convert message to target pattern format.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.pattern ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.pattern
��ʹ��

+
+ + + + + + + + + + + + + +
+ʹ�� darks.log.pattern ��������
darks.log.layout  
darks.log.pattern  
+  +

+ + + + + + + + +
+darks.log.layout ʹ�õ� darks.log.pattern �е���
ConvertPattern + +
+          Indicate to convert message to target pattern format.
+  +

+ + + + + + + + +
+darks.log.pattern ʹ�õ� darks.log.pattern �е���
ConvertPattern + +
+          Indicate to convert message to target pattern format.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/DatePatternConvertor.html b/docs/darks/log/pattern/parser/DatePatternConvertor.html index ef755b4..721a33d 100644 --- a/docs/darks/log/pattern/parser/DatePatternConvertor.html +++ b/docs/darks/log/pattern/parser/DatePatternConvertor.html @@ -1,280 +1,280 @@ - - - - - - -DatePatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� DatePatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.DatePatternConvertor
-
-
-
-
public class DatePatternConvertor
extends PatternConvertor
- - -

+ + + + + + +DatePatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� DatePatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.DatePatternConvertor
+
+
+
+
public class DatePatternConvertor
extends PatternConvertor
+ + +

Format date pattern - DatePatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
DatePatternConvertor() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-DatePatternConvertor

-
-public DatePatternConvertor()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + DatePatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
DatePatternConvertor() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+DatePatternConvertor

+
+public DatePatternConvertor()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/DuringTimePatternConvertor.html b/docs/darks/log/pattern/parser/DuringTimePatternConvertor.html index 3d87ec0..b969c20 100644 --- a/docs/darks/log/pattern/parser/DuringTimePatternConvertor.html +++ b/docs/darks/log/pattern/parser/DuringTimePatternConvertor.html @@ -1,280 +1,280 @@ - - - - - - -DuringTimePatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� DuringTimePatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.DuringTimePatternConvertor
-
-
-
-
public class DuringTimePatternConvertor
extends PatternConvertor
- - -

+ + + + + + +DuringTimePatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� DuringTimePatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.DuringTimePatternConvertor
+
+
+
+
public class DuringTimePatternConvertor
extends PatternConvertor
+ + +

Format cost time by pattern - DuringTimePatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
DuringTimePatternConvertor() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-DuringTimePatternConvertor

-
-public DuringTimePatternConvertor()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + DuringTimePatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
DuringTimePatternConvertor() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+DuringTimePatternConvertor

+
+public DuringTimePatternConvertor()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/EventDetailPatternConvertor.html b/docs/darks/log/pattern/parser/EventDetailPatternConvertor.html index defa3f7..49d925a 100644 --- a/docs/darks/log/pattern/parser/EventDetailPatternConvertor.html +++ b/docs/darks/log/pattern/parser/EventDetailPatternConvertor.html @@ -1,280 +1,280 @@ - - - - - - -EventDetailPatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� EventDetailPatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.EventDetailPatternConvertor
-
-
-
-
public class EventDetailPatternConvertor
extends PatternConvertor
- - -

+ + + + + + +EventDetailPatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� EventDetailPatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.EventDetailPatternConvertor
+
+
+
+
public class EventDetailPatternConvertor
extends PatternConvertor
+ + +

Format event detail information - EventDetailPatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
EventDetailPatternConvertor() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-EventDetailPatternConvertor

-
-public EventDetailPatternConvertor()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + EventDetailPatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
EventDetailPatternConvertor() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+EventDetailPatternConvertor

+
+public EventDetailPatternConvertor()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/FilenamePatternConvertor.html b/docs/darks/log/pattern/parser/FilenamePatternConvertor.html index 6591e00..445490c 100644 --- a/docs/darks/log/pattern/parser/FilenamePatternConvertor.html +++ b/docs/darks/log/pattern/parser/FilenamePatternConvertor.html @@ -1,280 +1,280 @@ - - - - - - -FilenamePatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� FilenamePatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.FilenamePatternConvertor
-
-
-
-
public class FilenamePatternConvertor
extends PatternConvertor
- - -

+ + + + + + +FilenamePatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� FilenamePatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.FilenamePatternConvertor
+
+
+
+
public class FilenamePatternConvertor
extends PatternConvertor
+ + +

Format file name pattern - FilenamePatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
FilenamePatternConvertor() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-FilenamePatternConvertor

-
-public FilenamePatternConvertor()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + FilenamePatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
FilenamePatternConvertor() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+FilenamePatternConvertor

+
+public FilenamePatternConvertor()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/LogLevelPatternConvertor.html b/docs/darks/log/pattern/parser/LogLevelPatternConvertor.html index 66ba78b..15ae197 100644 --- a/docs/darks/log/pattern/parser/LogLevelPatternConvertor.html +++ b/docs/darks/log/pattern/parser/LogLevelPatternConvertor.html @@ -1,280 +1,280 @@ - - - - - - -LogLevelPatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� LogLevelPatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.LogLevelPatternConvertor
-
-
-
-
public class LogLevelPatternConvertor
extends PatternConvertor
- - -

+ + + + + + +LogLevelPatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� LogLevelPatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.LogLevelPatternConvertor
+
+
+
+
public class LogLevelPatternConvertor
extends PatternConvertor
+ + +

Format log level - LogLevelPatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
LogLevelPatternConvertor() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-LogLevelPatternConvertor

-
-public LogLevelPatternConvertor()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + LogLevelPatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
LogLevelPatternConvertor() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+LogLevelPatternConvertor

+
+public LogLevelPatternConvertor()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/MessagePatternConvertor.html b/docs/darks/log/pattern/parser/MessagePatternConvertor.html index db5a666..3ec3807 100644 --- a/docs/darks/log/pattern/parser/MessagePatternConvertor.html +++ b/docs/darks/log/pattern/parser/MessagePatternConvertor.html @@ -1,280 +1,280 @@ - - - - - - -MessagePatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� MessagePatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.MessagePatternConvertor
-
-
-
-
public class MessagePatternConvertor
extends PatternConvertor
- - -

+ + + + + + +MessagePatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� MessagePatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.MessagePatternConvertor
+
+
+
+
public class MessagePatternConvertor
extends PatternConvertor
+ + +

Format message directly - MessagePatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
MessagePatternConvertor() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-MessagePatternConvertor

-
-public MessagePatternConvertor()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + MessagePatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
MessagePatternConvertor() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+MessagePatternConvertor

+
+public MessagePatternConvertor()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/PatternConvertor.html b/docs/darks/log/pattern/parser/PatternConvertor.html index 03b7e74..7e50d79 100644 --- a/docs/darks/log/pattern/parser/PatternConvertor.html +++ b/docs/darks/log/pattern/parser/PatternConvertor.html @@ -1,346 +1,346 @@ - - - - - - -PatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� PatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-
-
-
ֱ����֪���ࣺ
DatePatternConvertor, DuringTimePatternConvertor, EventDetailPatternConvertor, FilenamePatternConvertor, LogLevelPatternConvertor, MessagePatternConvertor, SourcePatternConvertor, StringPatternConvertor, TagPatternConvertor, ThreadPatternConvertor
-
-
-
-
public abstract class PatternConvertor
extends java.lang.Object
- - -

+ + + + + + +PatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� PatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+
+
+
ֱ����֪���ࣺ
DatePatternConvertor, DuringTimePatternConvertor, EventDetailPatternConvertor, FilenamePatternConvertor, LogLevelPatternConvertor, MessagePatternConvertor, SourcePatternConvertor, StringPatternConvertor, TagPatternConvertor, ThreadPatternConvertor
+
+
+
+
public abstract class PatternConvertor
extends java.lang.Object
+ + +

Indicate to convert message by pattern - PatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
PatternConvertor() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
-abstract  booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- PatternConvertorgetNext() - -
-           
- java.lang.StringgetToken() - -
-           
- voidsetNext(PatternConvertor next) - -
-           
- voidsetToken(java.lang.String token) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-PatternConvertor

-
-public PatternConvertor()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public abstract boolean format(java.lang.StringBuilder buf,
-                               LogMessage message)
-
-
Format message content -

-

-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
-
- -

-getNext

-
-public PatternConvertor getNext()
-
-
-
-
-
-
- -

-getToken

-
-public java.lang.String getToken()
-
-
-
-
-
-
- -

-setNext

-
-public void setNext(PatternConvertor next)
-
-
-
-
-
-
- -

-setToken

-
-public void setToken(java.lang.String token)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + PatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
PatternConvertor() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+abstract  booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ PatternConvertorgetNext() + +
+           
+ java.lang.StringgetToken() + +
+           
+ voidsetNext(PatternConvertor next) + +
+           
+ voidsetToken(java.lang.String token) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+PatternConvertor

+
+public PatternConvertor()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public abstract boolean format(java.lang.StringBuilder buf,
+                               LogMessage message)
+
+
Format message content +

+

+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+
+ +

+getNext

+
+public PatternConvertor getNext()
+
+
+
+
+
+
+ +

+getToken

+
+public java.lang.String getToken()
+
+
+
+
+
+
+ +

+setNext

+
+public void setNext(PatternConvertor next)
+
+
+
+
+
+
+ +

+setToken

+
+public void setToken(java.lang.String token)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/PatternParser.html b/docs/darks/log/pattern/parser/PatternParser.html index b587587..ef30e25 100644 --- a/docs/darks/log/pattern/parser/PatternParser.html +++ b/docs/darks/log/pattern/parser/PatternParser.html @@ -1,337 +1,337 @@ - - - - - - -PatternParser - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� PatternParser

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternParser
-
-
-
-
public class PatternParser
extends java.lang.Object
- - -

-PatternParser.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - -
-���췽��ժҪ
PatternParser() - -
-           
PatternParser(java.lang.String pattern) - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
- java.lang.StringgetPattern() - -
-           
- PatternConvertorparseConvertor() - -
-          Get PatternConvertor object
- voidsetPattern(java.lang.String pattern) - -
-           
- booleanvalidate() - -
-          Validate whether pattern is available
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-PatternParser

-
-public PatternParser()
-
-
-
- -

-PatternParser

-
-public PatternParser(java.lang.String pattern)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-getPattern

-
-public java.lang.String getPattern()
-
-
-
-
-
-
- -

-parseConvertor

-
-public PatternConvertor parseConvertor()
-
-
Get PatternConvertor object -

-

- -
���أ�
PatternConvertor
-
-
-
- -

-setPattern

-
-public void setPattern(java.lang.String pattern)
-
-
-
-
-
-
- -

-validate

-
-public boolean validate()
-
-
Validate whether pattern is available -

-

- -
���أ�
if available, return true
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +PatternParser + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� PatternParser

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternParser
+
+
+
+
public class PatternParser
extends java.lang.Object
+ + +

+PatternParser.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + +
+���췽��ժҪ
PatternParser() + +
+           
PatternParser(java.lang.String pattern) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+ java.lang.StringgetPattern() + +
+           
+ PatternConvertorparseConvertor() + +
+          Get PatternConvertor object
+ voidsetPattern(java.lang.String pattern) + +
+           
+ booleanvalidate() + +
+          Validate whether pattern is available
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+PatternParser

+
+public PatternParser()
+
+
+
+ +

+PatternParser

+
+public PatternParser(java.lang.String pattern)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getPattern

+
+public java.lang.String getPattern()
+
+
+
+
+
+
+ +

+parseConvertor

+
+public PatternConvertor parseConvertor()
+
+
Get PatternConvertor object +

+

+ +
���أ�
PatternConvertor
+
+
+
+ +

+setPattern

+
+public void setPattern(java.lang.String pattern)
+
+
+
+
+
+
+ +

+validate

+
+public boolean validate()
+
+
Validate whether pattern is available +

+

+ +
���أ�
if available, return true
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/SourcePatternConvertor.html b/docs/darks/log/pattern/parser/SourcePatternConvertor.html index 484f0ba..4de4140 100644 --- a/docs/darks/log/pattern/parser/SourcePatternConvertor.html +++ b/docs/darks/log/pattern/parser/SourcePatternConvertor.html @@ -1,280 +1,280 @@ - - - - - - -SourcePatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� SourcePatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.SourcePatternConvertor
-
-
-
-
public class SourcePatternConvertor
extends PatternConvertor
- - -

+ + + + + + +SourcePatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� SourcePatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.SourcePatternConvertor
+
+
+
+
public class SourcePatternConvertor
extends PatternConvertor
+ + +

Format source code line - SourcePatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
SourcePatternConvertor() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-SourcePatternConvertor

-
-public SourcePatternConvertor()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + SourcePatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
SourcePatternConvertor() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+SourcePatternConvertor

+
+public SourcePatternConvertor()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/StringPatternConvertor.html b/docs/darks/log/pattern/parser/StringPatternConvertor.html index 9fc085b..ff5f933 100644 --- a/docs/darks/log/pattern/parser/StringPatternConvertor.html +++ b/docs/darks/log/pattern/parser/StringPatternConvertor.html @@ -1,304 +1,304 @@ - - - - - - -StringPatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� StringPatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.StringPatternConvertor
-
-
-
-
public class StringPatternConvertor
extends PatternConvertor
- - -

+ + + + + + +StringPatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� StringPatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.StringPatternConvertor
+
+
+
+
public class StringPatternConvertor
extends PatternConvertor
+ + +

Format a string directly - StringPatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
StringPatternConvertor(java.lang.String data) - -
-           
-  - - - - - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- java.lang.StringtoString() - -
-          
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-StringPatternConvertor

-
-public StringPatternConvertor(java.lang.String data)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
-

-

-
���ǣ�
�� java.lang.Object �е� toString
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + StringPatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
StringPatternConvertor(java.lang.String data) + +
+           
+  + + + + + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ java.lang.StringtoString() + +
+          
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+StringPatternConvertor

+
+public StringPatternConvertor(java.lang.String data)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+

+

+
���ǣ�
�� java.lang.Object �е� toString
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/TagPatternConvertor.html b/docs/darks/log/pattern/parser/TagPatternConvertor.html index 7dbfacd..612c47c 100644 --- a/docs/darks/log/pattern/parser/TagPatternConvertor.html +++ b/docs/darks/log/pattern/parser/TagPatternConvertor.html @@ -1,280 +1,280 @@ - - - - - - -TagPatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� TagPatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.TagPatternConvertor
-
-
-
-
public class TagPatternConvertor
extends PatternConvertor
- - -

+ + + + + + +TagPatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� TagPatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.TagPatternConvertor
+
+
+
+
public class TagPatternConvertor
extends PatternConvertor
+ + +

Format class name or nsmaspace/tags - TagPatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
TagPatternConvertor(boolean blClassName) - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-TagPatternConvertor

-
-public TagPatternConvertor(boolean blClassName)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + TagPatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
TagPatternConvertor(boolean blClassName) + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+TagPatternConvertor

+
+public TagPatternConvertor(boolean blClassName)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/ThreadPatternConvertor.html b/docs/darks/log/pattern/parser/ThreadPatternConvertor.html index 5504dc0..0981183 100644 --- a/docs/darks/log/pattern/parser/ThreadPatternConvertor.html +++ b/docs/darks/log/pattern/parser/ThreadPatternConvertor.html @@ -1,280 +1,280 @@ - - - - - - -ThreadPatternConvertor - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.pattern.parser -
-�� ThreadPatternConvertor

-
-java.lang.Object
-  �̳��� darks.log.pattern.parser.PatternConvertor
-      �̳��� darks.log.pattern.parser.ThreadPatternConvertor
-
-
-
-
public class ThreadPatternConvertor
extends PatternConvertor
- - -

+ + + + + + +ThreadPatternConvertor + + + + + + + + + + + + +


+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.pattern.parser +
+�� ThreadPatternConvertor

+
+java.lang.Object
+  �̳��� darks.log.pattern.parser.PatternConvertor
+      �̳��� darks.log.pattern.parser.ThreadPatternConvertor
+
+
+
+
public class ThreadPatternConvertor
extends PatternConvertor
+ + +

Format thread name by pattern - ThreadPatternConvertor.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
ThreadPatternConvertor() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- booleanformat(java.lang.StringBuilder buf, - LogMessage message) - -
-          Format message content
- - - - - - - -
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-ThreadPatternConvertor

-
-public ThreadPatternConvertor()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public boolean format(java.lang.StringBuilder buf,
-                      LogMessage message)
-
-
Format message content -

-

-
ָ���ߣ�
�� PatternConvertor �е� format
-
-
-
������
buf - Message buffer
message - Log message -
���أ�
If succeed to format, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + ThreadPatternConvertor.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
ThreadPatternConvertor() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ booleanformat(java.lang.StringBuilder buf, + LogMessage message) + +
+          Format message content
+ + + + + + + +
���� darks.log.pattern.parser.PatternConvertor �̳еķ���
getNext, getToken, setNext, setToken
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+ThreadPatternConvertor

+
+public ThreadPatternConvertor()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public boolean format(java.lang.StringBuilder buf,
+                      LogMessage message)
+
+
Format message content +

+

+
ָ���ߣ�
�� PatternConvertor �е� format
+
+
+
������
buf - Message buffer
message - Log message +
���أ�
If succeed to format, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/DatePatternConvertor.html b/docs/darks/log/pattern/parser/class-use/DatePatternConvertor.html index 7a9e034..e4d3f86 100644 --- a/docs/darks/log/pattern/parser/class-use/DatePatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/DatePatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.DatePatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.DatePatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.DatePatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.DatePatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.DatePatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.DatePatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/DuringTimePatternConvertor.html b/docs/darks/log/pattern/parser/class-use/DuringTimePatternConvertor.html index 9447d26..8f8003e 100644 --- a/docs/darks/log/pattern/parser/class-use/DuringTimePatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/DuringTimePatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.DuringTimePatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.DuringTimePatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.DuringTimePatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.DuringTimePatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.DuringTimePatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.DuringTimePatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/EventDetailPatternConvertor.html b/docs/darks/log/pattern/parser/class-use/EventDetailPatternConvertor.html index 4bf1f87..a0d7405 100644 --- a/docs/darks/log/pattern/parser/class-use/EventDetailPatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/EventDetailPatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.EventDetailPatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.EventDetailPatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.EventDetailPatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.EventDetailPatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.EventDetailPatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.EventDetailPatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/FilenamePatternConvertor.html b/docs/darks/log/pattern/parser/class-use/FilenamePatternConvertor.html index 2f54267..6f5433c 100644 --- a/docs/darks/log/pattern/parser/class-use/FilenamePatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/FilenamePatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.FilenamePatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.FilenamePatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.FilenamePatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.FilenamePatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.FilenamePatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.FilenamePatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/LogLevelPatternConvertor.html b/docs/darks/log/pattern/parser/class-use/LogLevelPatternConvertor.html index 869cc14..a4c9027 100644 --- a/docs/darks/log/pattern/parser/class-use/LogLevelPatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/LogLevelPatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.LogLevelPatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.LogLevelPatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.LogLevelPatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.LogLevelPatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.LogLevelPatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.LogLevelPatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/MessagePatternConvertor.html b/docs/darks/log/pattern/parser/class-use/MessagePatternConvertor.html index 8478496..7878e04 100644 --- a/docs/darks/log/pattern/parser/class-use/MessagePatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/MessagePatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.MessagePatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.MessagePatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.MessagePatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.MessagePatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.MessagePatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.MessagePatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/PatternConvertor.html b/docs/darks/log/pattern/parser/class-use/PatternConvertor.html index ba1f7a3..23ac867 100644 --- a/docs/darks/log/pattern/parser/class-use/PatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/PatternConvertor.html @@ -1,310 +1,310 @@ - - - - - - -�� darks.log.pattern.parser.PatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.PatternConvertor
��ʹ��

-
- - - - - - - - - -
-ʹ�� PatternConvertor ��������
darks.log.pattern.parser  
-  -

- - - - - -
-darks.log.pattern.parser �� PatternConvertor ��ʹ��
-  -

- - - - - - - - + +
darks.log.pattern.parser �� PatternConvertor ������
- classDatePatternConvertor - -
+ + + + + + +�� darks.log.pattern.parser.PatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.PatternConvertor
��ʹ��

+
+ + + + + + + + + +
+ʹ�� PatternConvertor ��������
darks.log.pattern.parser  
+  +

+ + + + + +
+darks.log.pattern.parser �� PatternConvertor ��ʹ��
+  +

+ + + + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - -
darks.log.pattern.parser �� PatternConvertor ������
+ classDatePatternConvertor + +
          Format date pattern - DatePatternConvertor.java
- classDuringTimePatternConvertor - -
+ DatePatternConvertor.java
+ classDuringTimePatternConvertor + +
          Format cost time by pattern - DuringTimePatternConvertor.java
- classEventDetailPatternConvertor - -
+ DuringTimePatternConvertor.java
+ classEventDetailPatternConvertor + +
          Format event detail information - EventDetailPatternConvertor.java
- classFilenamePatternConvertor - -
+ EventDetailPatternConvertor.java
+ classFilenamePatternConvertor + +
          Format file name pattern - FilenamePatternConvertor.java
- classLogLevelPatternConvertor - -
+ FilenamePatternConvertor.java
+ classLogLevelPatternConvertor + +
          Format log level - LogLevelPatternConvertor.java
- classMessagePatternConvertor - -
+ LogLevelPatternConvertor.java
+ classMessagePatternConvertor + +
          Format message directly - MessagePatternConvertor.java
- classSourcePatternConvertor - -
+ MessagePatternConvertor.java
+ classSourcePatternConvertor + +
          Format source code line - SourcePatternConvertor.java
- classStringPatternConvertor - -
+ SourcePatternConvertor.java
+ classStringPatternConvertor + +
          Format a string directly - StringPatternConvertor.java
- classTagPatternConvertor - -
+ StringPatternConvertor.java
+ classTagPatternConvertor + +
          Format class name or nsmaspace/tags - TagPatternConvertor.java
- classThreadPatternConvertor - -
+ TagPatternConvertor.java
+ classThreadPatternConvertor + +
          Format thread name by pattern - ThreadPatternConvertor.java
-  -

- - - - - - - - - - - - - -
���� PatternConvertor �� darks.log.pattern.parser �еķ���
- PatternConvertorPatternConvertor.getNext() - -
-           
- PatternConvertorPatternParser.parseConvertor() - -
-          Get PatternConvertor object
-  -

- - - - - - - - - -
��������Ϊ PatternConvertor �� darks.log.pattern.parser �еķ���
- voidPatternConvertor.setNext(PatternConvertor next) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + ThreadPatternConvertor.java
+  +

+ + + + + + + + + + + + + +
���� PatternConvertor �� darks.log.pattern.parser �еķ���
+ PatternConvertorPatternConvertor.getNext() + +
+           
+ PatternConvertorPatternParser.parseConvertor() + +
+          Get PatternConvertor object
+  +

+ + + + + + + + + +
��������Ϊ PatternConvertor �� darks.log.pattern.parser �еķ���
+ voidPatternConvertor.setNext(PatternConvertor next) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/PatternParser.html b/docs/darks/log/pattern/parser/class-use/PatternParser.html index 957fc02..1f20bff 100644 --- a/docs/darks/log/pattern/parser/class-use/PatternParser.html +++ b/docs/darks/log/pattern/parser/class-use/PatternParser.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.PatternParser ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.PatternParser
��ʹ��

-
-û�� darks.log.pattern.parser.PatternParser ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.PatternParser ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.PatternParser
��ʹ��

+
+û�� darks.log.pattern.parser.PatternParser ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/SourcePatternConvertor.html b/docs/darks/log/pattern/parser/class-use/SourcePatternConvertor.html index 2aa238c..677a487 100644 --- a/docs/darks/log/pattern/parser/class-use/SourcePatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/SourcePatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.SourcePatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.SourcePatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.SourcePatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.SourcePatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.SourcePatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.SourcePatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/StringPatternConvertor.html b/docs/darks/log/pattern/parser/class-use/StringPatternConvertor.html index 90674c0..d83ecce 100644 --- a/docs/darks/log/pattern/parser/class-use/StringPatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/StringPatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.StringPatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.StringPatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.StringPatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.StringPatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.StringPatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.StringPatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/TagPatternConvertor.html b/docs/darks/log/pattern/parser/class-use/TagPatternConvertor.html index b525324..934d7b6 100644 --- a/docs/darks/log/pattern/parser/class-use/TagPatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/TagPatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.TagPatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.TagPatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.TagPatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.TagPatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.TagPatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.TagPatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/class-use/ThreadPatternConvertor.html b/docs/darks/log/pattern/parser/class-use/ThreadPatternConvertor.html index a55b97a..574c84f 100644 --- a/docs/darks/log/pattern/parser/class-use/ThreadPatternConvertor.html +++ b/docs/darks/log/pattern/parser/class-use/ThreadPatternConvertor.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.pattern.parser.ThreadPatternConvertor ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.pattern.parser.ThreadPatternConvertor
��ʹ��

-
-û�� darks.log.pattern.parser.ThreadPatternConvertor ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.pattern.parser.ThreadPatternConvertor ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.pattern.parser.ThreadPatternConvertor
��ʹ��

+
+û�� darks.log.pattern.parser.ThreadPatternConvertor ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/package-frame.html b/docs/darks/log/pattern/parser/package-frame.html index 137beae..e226e41 100644 --- a/docs/darks/log/pattern/parser/package-frame.html +++ b/docs/darks/log/pattern/parser/package-frame.html @@ -1,54 +1,54 @@ - - - - - - -darks.log.pattern.parser - - - - - - - - - - - -darks.log.pattern.parser - - - - -
-��  - -
-DatePatternConvertor -
-DuringTimePatternConvertor -
-EventDetailPatternConvertor -
-FilenamePatternConvertor -
-LogLevelPatternConvertor -
-MessagePatternConvertor -
-PatternConvertor -
-PatternParser -
-SourcePatternConvertor -
-StringPatternConvertor -
-TagPatternConvertor -
-ThreadPatternConvertor
- - - - + + + + + + +darks.log.pattern.parser + + + + + + + + + + + +darks.log.pattern.parser + + + + +
+��  + +
+DatePatternConvertor +
+DuringTimePatternConvertor +
+EventDetailPatternConvertor +
+FilenamePatternConvertor +
+LogLevelPatternConvertor +
+MessagePatternConvertor +
+PatternConvertor +
+PatternParser +
+SourcePatternConvertor +
+StringPatternConvertor +
+TagPatternConvertor +
+ThreadPatternConvertor
+ + + + diff --git a/docs/darks/log/pattern/parser/package-summary.html b/docs/darks/log/pattern/parser/package-summary.html index a5f1801..8243122 100644 --- a/docs/darks/log/pattern/parser/package-summary.html +++ b/docs/darks/log/pattern/parser/package-summary.html @@ -1,221 +1,221 @@ - - - - - - -darks.log.pattern.parser - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.pattern.parser -

- - - - - - - + + + + + + +darks.log.pattern.parser + + + + + + + + + + + + +
+ + + + + +
-��ժҪ
DatePatternConvertor
+ + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.pattern.parser +

+ + + + + + + - - - + DatePatternConvertor.java + + + - - - + DuringTimePatternConvertor.java + + + - - - + EventDetailPatternConvertor.java + + + - - - + FilenamePatternConvertor.java + + + - - - + LogLevelPatternConvertor.java + + + - - - + MessagePatternConvertor.java + + + - - - - - - - + PatternConvertor.java + + + + + + + - - - + SourcePatternConvertor.java + + + - - - + StringPatternConvertor.java + + + - - - + TagPatternConvertor.java + + + - -
+��ժҪ
DatePatternConvertor Format date pattern - DatePatternConvertor.java
DuringTimePatternConvertor
DuringTimePatternConvertor Format cost time by pattern - DuringTimePatternConvertor.java
EventDetailPatternConvertor
EventDetailPatternConvertor Format event detail information - EventDetailPatternConvertor.java
FilenamePatternConvertor
FilenamePatternConvertor Format file name pattern - FilenamePatternConvertor.java
LogLevelPatternConvertor
LogLevelPatternConvertor Format log level - LogLevelPatternConvertor.java
MessagePatternConvertor
MessagePatternConvertor Format message directly - MessagePatternConvertor.java
PatternConvertor
PatternConvertor Indicate to convert message by pattern - PatternConvertor.java
PatternParserPatternParser.java
SourcePatternConvertor
PatternParserPatternParser.java
SourcePatternConvertor Format source code line - SourcePatternConvertor.java
StringPatternConvertor
StringPatternConvertor Format a string directly - StringPatternConvertor.java
TagPatternConvertor
TagPatternConvertor Format class name or nsmaspace/tags - TagPatternConvertor.java
ThreadPatternConvertor
ThreadPatternConvertor Format thread name by pattern - ThreadPatternConvertor.java
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + ThreadPatternConvertor.java + + +  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/package-tree.html b/docs/darks/log/pattern/parser/package-tree.html index 8412a47..7caae2e 100644 --- a/docs/darks/log/pattern/parser/package-tree.html +++ b/docs/darks/log/pattern/parser/package-tree.html @@ -1,153 +1,153 @@ - - - - - - -darks.log.pattern.parser ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.pattern.parser �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.pattern.parser ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.pattern.parser �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/pattern/parser/package-use.html b/docs/darks/log/pattern/parser/package-use.html index 5b0b4d9..6ef62f3 100644 --- a/docs/darks/log/pattern/parser/package-use.html +++ b/docs/darks/log/pattern/parser/package-use.html @@ -1,170 +1,170 @@ - - - - - - -������ darks.log.pattern.parser ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.pattern.parser
��ʹ��

-
- - - - - - - - - -
-ʹ�� darks.log.pattern.parser ��������
darks.log.pattern.parser  
-  -

- - - - - - - + +
-darks.log.pattern.parser ʹ�õ� darks.log.pattern.parser �е���
PatternConvertor - -
+ + + + + + +������ darks.log.pattern.parser ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.pattern.parser
��ʹ��

+
+ + + + + + + + + +
+ʹ�� darks.log.pattern.parser ��������
darks.log.pattern.parser  
+  +

+ + + + + + + - -
+darks.log.pattern.parser ʹ�õ� darks.log.pattern.parser �е���
PatternConvertor + +
          Indicate to convert message by pattern - PatternConvertor.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + PatternConvertor.java
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/EnvUtils.html b/docs/darks/log/utils/EnvUtils.html index 3c2a81c..97dfaa5 100644 --- a/docs/darks/log/utils/EnvUtils.html +++ b/docs/darks/log/utils/EnvUtils.html @@ -1,230 +1,230 @@ - - - - - - -EnvUtils - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.utils -
-�� EnvUtils

-
-java.lang.Object
-  �̳��� darks.log.utils.EnvUtils
-
-
-
-
public final class EnvUtils
extends java.lang.Object
- - -

-EnvUtils.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - -
-����ժҪ
-static booleanisAndroidEnv() - -
-          Check whether system is andorid
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-������ϸ��Ϣ
- -

-isAndroidEnv

-
-public static boolean isAndroidEnv()
-
-
Check whether system is andorid -

-

- -
���أ�
If android, return true.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +EnvUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.utils +
+�� EnvUtils

+
+java.lang.Object
+  �̳��� darks.log.utils.EnvUtils
+
+
+
+
public final class EnvUtils
extends java.lang.Object
+ + +

+EnvUtils.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + +
+����ժҪ
+static booleanisAndroidEnv() + +
+          Check whether system is andorid
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+������ϸ��Ϣ
+ +

+isAndroidEnv

+
+public static boolean isAndroidEnv()
+
+
Check whether system is andorid +

+

+ +
���أ�
If android, return true.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/IoUtils.html b/docs/darks/log/utils/IoUtils.html index 20ff57b..8e7647f 100644 --- a/docs/darks/log/utils/IoUtils.html +++ b/docs/darks/log/utils/IoUtils.html @@ -1,306 +1,306 @@ - - - - - - -IoUtils - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.utils -
-�� IoUtils

-
-java.lang.Object
-  �̳��� darks.log.utils.IoUtils
-
-
-
-
public final class IoUtils
extends java.lang.Object
- - -

-IoUtils.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
-static voidcloseIO(java.io.InputStream ins) - -
-           
-static voidcloseIO(java.io.OutputStream os) - -
-           
-static voidcloseIO(java.io.Reader reader) - -
-           
-static voidcloseIO(java.io.Writer writer) - -
-           
-static byte[]getObjectBytes(java.lang.Object obj) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-������ϸ��Ϣ
- -

-closeIO

-
-public static void closeIO(java.io.InputStream ins)
-
-
-
-
-
-
- -

-closeIO

-
-public static void closeIO(java.io.OutputStream os)
-
-
-
-
-
-
- -

-closeIO

-
-public static void closeIO(java.io.Reader reader)
-
-
-
-
-
-
- -

-closeIO

-
-public static void closeIO(java.io.Writer writer)
-
-
-
-
-
-
- -

-getObjectBytes

-
-public static byte[] getObjectBytes(java.lang.Object obj)
-                             throws java.io.IOException
-
-
- -
�׳��� -
java.io.IOException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +IoUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.utils +
+�� IoUtils

+
+java.lang.Object
+  �̳��� darks.log.utils.IoUtils
+
+
+
+
public final class IoUtils
extends java.lang.Object
+ + +

+IoUtils.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+static voidcloseIO(java.io.InputStream ins) + +
+           
+static voidcloseIO(java.io.OutputStream os) + +
+           
+static voidcloseIO(java.io.Reader reader) + +
+           
+static voidcloseIO(java.io.Writer writer) + +
+           
+static byte[]getObjectBytes(java.lang.Object obj) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+������ϸ��Ϣ
+ +

+closeIO

+
+public static void closeIO(java.io.InputStream ins)
+
+
+
+
+
+
+ +

+closeIO

+
+public static void closeIO(java.io.OutputStream os)
+
+
+
+
+
+
+ +

+closeIO

+
+public static void closeIO(java.io.Reader reader)
+
+
+
+
+
+
+ +

+closeIO

+
+public static void closeIO(java.io.Writer writer)
+
+
+
+
+
+
+ +

+getObjectBytes

+
+public static byte[] getObjectBytes(java.lang.Object obj)
+                             throws java.io.IOException
+
+
+ +
�׳��� +
java.io.IOException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/ReflectUtils.html b/docs/darks/log/utils/ReflectUtils.html index a410e6e..cd361ec 100644 --- a/docs/darks/log/utils/ReflectUtils.html +++ b/docs/darks/log/utils/ReflectUtils.html @@ -1,403 +1,403 @@ - - - - - - -ReflectUtils - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.utils -
-�� ReflectUtils

-
-java.lang.Object
-  �̳��� darks.log.utils.ReflectUtils
-
-
-
-
public final class ReflectUtils
extends java.lang.Object
- - -

-ReflectUtils.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
-static java.lang.reflect.Constructor<?>getConstructor(java.lang.Class<?> clazz) - -
-           
-static java.lang.reflect.MethodgetDeepMethod(java.lang.Class<?> clazz, - java.lang.String methodName, - java.lang.Class<?>[] paramsType) - -
-           
-static java.lang.reflect.MethodgetGetMethod(java.lang.Class<?> clazz, - java.lang.String name) - -
-           
-static java.lang.ObjectgetGetMethodObject(java.lang.Object obj, - java.lang.String name) - -
-           
-static java.lang.reflect.MethodgetSetMethod(java.lang.Class<?> clazz, - java.lang.String name) - -
-           
-static java.lang.reflect.MethodgetSetMethod(java.lang.Class<?> clazz, - java.lang.String name, - java.lang.Class<?>[] params) - -
-           
-static java.lang.ObjectnewInstance(java.lang.Class<?> clazz) - -
-           
-static booleansetMethodValue(java.lang.Object obj, - java.lang.reflect.Method method, - java.lang.Class<?> paramType, - java.lang.String val) - -
-           
-static booleansetStringValue(java.lang.Object obj, - java.lang.String name, - java.lang.String s) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-������ϸ��Ϣ
- -

-getConstructor

-
-public static java.lang.reflect.Constructor<?> getConstructor(java.lang.Class<?> clazz)
-
-
-
-
-
-
- -

-getDeepMethod

-
-public static java.lang.reflect.Method getDeepMethod(java.lang.Class<?> clazz,
-                                                     java.lang.String methodName,
-                                                     java.lang.Class<?>[] paramsType)
-
-
-
-
-
-
- -

-getGetMethod

-
-public static java.lang.reflect.Method getGetMethod(java.lang.Class<?> clazz,
-                                                    java.lang.String name)
-
-
-
-
-
-
- -

-getGetMethodObject

-
-public static java.lang.Object getGetMethodObject(java.lang.Object obj,
-                                                  java.lang.String name)
-
-
-
-
-
-
- -

-getSetMethod

-
-public static java.lang.reflect.Method getSetMethod(java.lang.Class<?> clazz,
-                                                    java.lang.String name)
-
-
-
-
-
-
- -

-getSetMethod

-
-public static java.lang.reflect.Method getSetMethod(java.lang.Class<?> clazz,
-                                                    java.lang.String name,
-                                                    java.lang.Class<?>[] params)
-
-
-
-
-
-
- -

-newInstance

-
-public static java.lang.Object newInstance(java.lang.Class<?> clazz)
-
-
-
-
-
-
- -

-setMethodValue

-
-public static boolean setMethodValue(java.lang.Object obj,
-                                     java.lang.reflect.Method method,
-                                     java.lang.Class<?> paramType,
-                                     java.lang.String val)
-
-
-
-
-
-
- -

-setStringValue

-
-public static boolean setStringValue(java.lang.Object obj,
-                                     java.lang.String name,
-                                     java.lang.String s)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +ReflectUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.utils +
+�� ReflectUtils

+
+java.lang.Object
+  �̳��� darks.log.utils.ReflectUtils
+
+
+
+
public final class ReflectUtils
extends java.lang.Object
+ + +

+ReflectUtils.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+static java.lang.reflect.Constructor<?>getConstructor(java.lang.Class<?> clazz) + +
+           
+static java.lang.reflect.MethodgetDeepMethod(java.lang.Class<?> clazz, + java.lang.String methodName, + java.lang.Class<?>[] paramsType) + +
+           
+static java.lang.reflect.MethodgetGetMethod(java.lang.Class<?> clazz, + java.lang.String name) + +
+           
+static java.lang.ObjectgetGetMethodObject(java.lang.Object obj, + java.lang.String name) + +
+           
+static java.lang.reflect.MethodgetSetMethod(java.lang.Class<?> clazz, + java.lang.String name) + +
+           
+static java.lang.reflect.MethodgetSetMethod(java.lang.Class<?> clazz, + java.lang.String name, + java.lang.Class<?>[] params) + +
+           
+static java.lang.ObjectnewInstance(java.lang.Class<?> clazz) + +
+           
+static booleansetMethodValue(java.lang.Object obj, + java.lang.reflect.Method method, + java.lang.Class<?> paramType, + java.lang.String val) + +
+           
+static booleansetStringValue(java.lang.Object obj, + java.lang.String name, + java.lang.String s) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getConstructor

+
+public static java.lang.reflect.Constructor<?> getConstructor(java.lang.Class<?> clazz)
+
+
+
+
+
+
+ +

+getDeepMethod

+
+public static java.lang.reflect.Method getDeepMethod(java.lang.Class<?> clazz,
+                                                     java.lang.String methodName,
+                                                     java.lang.Class<?>[] paramsType)
+
+
+
+
+
+
+ +

+getGetMethod

+
+public static java.lang.reflect.Method getGetMethod(java.lang.Class<?> clazz,
+                                                    java.lang.String name)
+
+
+
+
+
+
+ +

+getGetMethodObject

+
+public static java.lang.Object getGetMethodObject(java.lang.Object obj,
+                                                  java.lang.String name)
+
+
+
+
+
+
+ +

+getSetMethod

+
+public static java.lang.reflect.Method getSetMethod(java.lang.Class<?> clazz,
+                                                    java.lang.String name)
+
+
+
+
+
+
+ +

+getSetMethod

+
+public static java.lang.reflect.Method getSetMethod(java.lang.Class<?> clazz,
+                                                    java.lang.String name,
+                                                    java.lang.Class<?>[] params)
+
+
+
+
+
+
+ +

+newInstance

+
+public static java.lang.Object newInstance(java.lang.Class<?> clazz)
+
+
+
+
+
+
+ +

+setMethodValue

+
+public static boolean setMethodValue(java.lang.Object obj,
+                                     java.lang.reflect.Method method,
+                                     java.lang.Class<?> paramType,
+                                     java.lang.String val)
+
+
+
+
+
+
+ +

+setStringValue

+
+public static boolean setStringValue(java.lang.Object obj,
+                                     java.lang.String name,
+                                     java.lang.String s)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/StorageUtils.html b/docs/darks/log/utils/StorageUtils.html index de189bc..8034064 100644 --- a/docs/darks/log/utils/StorageUtils.html +++ b/docs/darks/log/utils/StorageUtils.html @@ -1,317 +1,317 @@ - - - - - - -StorageUtils - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.utils -
-�� StorageUtils

-
-java.lang.Object
-  �̳��� darks.log.utils.StorageUtils
-
-
-
-
public class StorageUtils
extends java.lang.Object
- - -

-StorageUtils.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
StorageUtils() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-����ժҪ
-static java.lang.StringcheckAndReplaceEmulatedPath(java.lang.String strSrc) - -
-           
-static java.lang.StringgetAbsoluteSdcardPath() - -
-           
-static java.lang.StringgetSdcardPath() - -
-           
-static java.io.FilegetSdcardPathFile() - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-StorageUtils

-
-public StorageUtils()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-checkAndReplaceEmulatedPath

-
-public static java.lang.String checkAndReplaceEmulatedPath(java.lang.String strSrc)
-
-
-
-
-
-
- -

-getAbsoluteSdcardPath

-
-public static java.lang.String getAbsoluteSdcardPath()
-
-
-
-
-
-
- -

-getSdcardPath

-
-public static java.lang.String getSdcardPath()
-
-
-
-
-
-
- -

-getSdcardPathFile

-
-public static java.io.File getSdcardPathFile()
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +StorageUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.utils +
+�� StorageUtils

+
+java.lang.Object
+  �̳��� darks.log.utils.StorageUtils
+
+
+
+
public class StorageUtils
extends java.lang.Object
+ + +

+StorageUtils.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
StorageUtils() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+����ժҪ
+static java.lang.StringcheckAndReplaceEmulatedPath(java.lang.String strSrc) + +
+           
+static java.lang.StringgetAbsoluteSdcardPath() + +
+           
+static java.lang.StringgetSdcardPath() + +
+           
+static java.io.FilegetSdcardPathFile() + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+StorageUtils

+
+public StorageUtils()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+checkAndReplaceEmulatedPath

+
+public static java.lang.String checkAndReplaceEmulatedPath(java.lang.String strSrc)
+
+
+
+
+
+
+ +

+getAbsoluteSdcardPath

+
+public static java.lang.String getAbsoluteSdcardPath()
+
+
+
+
+
+
+ +

+getSdcardPath

+
+public static java.lang.String getSdcardPath()
+
+
+
+
+
+
+ +

+getSdcardPathFile

+
+public static java.io.File getSdcardPathFile()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/StringUtils.html b/docs/darks/log/utils/StringUtils.html index 86c3981..a124dd6 100644 --- a/docs/darks/log/utils/StringUtils.html +++ b/docs/darks/log/utils/StringUtils.html @@ -1,314 +1,314 @@ - - - - - - -StringUtils - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.utils -
-�� StringUtils

-
-java.lang.Object
-  �̳��� darks.log.utils.StringUtils
-
-
-
-
public final class StringUtils
extends java.lang.Object
- - -

-StringUtils.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - - - - - -
-�ֶ�ժҪ
-static java.lang.StringLINE_RETURN - -
-           
-static intLINE_RETURN_LEN - -
-           
-  - - - - - - - - - - -
-���췽��ժҪ
StringUtils() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
-static java.lang.StringreplacePropertyVar(java.lang.String value) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-�ֶ���ϸ��Ϣ
- -

-LINE_RETURN

-
-public static final java.lang.String LINE_RETURN
-
-
-
-
-
- -

-LINE_RETURN_LEN

-
-public static final int LINE_RETURN_LEN
-
-
-
-
- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-StringUtils

-
-public StringUtils()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-replacePropertyVar

-
-public static java.lang.String replacePropertyVar(java.lang.String value)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +StringUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.utils +
+�� StringUtils

+
+java.lang.Object
+  �̳��� darks.log.utils.StringUtils
+
+
+
+
public final class StringUtils
extends java.lang.Object
+ + +

+StringUtils.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + + + + + +
+�ֶ�ժҪ
+static java.lang.StringLINE_RETURN + +
+           
+static intLINE_RETURN_LEN + +
+           
+  + + + + + + + + + + +
+���췽��ժҪ
StringUtils() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+static java.lang.StringreplacePropertyVar(java.lang.String value) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+�ֶ���ϸ��Ϣ
+ +

+LINE_RETURN

+
+public static final java.lang.String LINE_RETURN
+
+
+
+
+
+ +

+LINE_RETURN_LEN

+
+public static final int LINE_RETURN_LEN
+
+
+
+
+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+StringUtils

+
+public StringUtils()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+replacePropertyVar

+
+public static java.lang.String replacePropertyVar(java.lang.String value)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/TimeUtils.html b/docs/darks/log/utils/TimeUtils.html index 124f016..c338f9d 100644 --- a/docs/darks/log/utils/TimeUtils.html +++ b/docs/darks/log/utils/TimeUtils.html @@ -1,260 +1,260 @@ - - - - - - -TimeUtils - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.utils -
-�� TimeUtils

-
-java.lang.Object
-  �̳��� darks.log.utils.TimeUtils
-
-
-
-
public class TimeUtils
extends java.lang.Object
- - -

-TimeUtils.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
TimeUtils() - -
-           
-  - - - - - - - - - - - -
-����ժҪ
-static DateFormatergetFormatter(java.lang.String pattern) - -
-           
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-TimeUtils

-
-public TimeUtils()
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-getFormatter

-
-public static DateFormater getFormatter(java.lang.String pattern)
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +TimeUtils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.utils +
+�� TimeUtils

+
+java.lang.Object
+  �̳��� darks.log.utils.TimeUtils
+
+
+
+
public class TimeUtils
extends java.lang.Object
+ + +

+TimeUtils.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
TimeUtils() + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+static DateFormatergetFormatter(java.lang.String pattern) + +
+           
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+TimeUtils

+
+public TimeUtils()
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+getFormatter

+
+public static DateFormater getFormatter(java.lang.String pattern)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/class-use/EnvUtils.html b/docs/darks/log/utils/class-use/EnvUtils.html index 5b41549..3a44c86 100644 --- a/docs/darks/log/utils/class-use/EnvUtils.html +++ b/docs/darks/log/utils/class-use/EnvUtils.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.utils.EnvUtils ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.utils.EnvUtils
��ʹ��

-
-û�� darks.log.utils.EnvUtils ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.utils.EnvUtils ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.utils.EnvUtils
��ʹ��

+
+û�� darks.log.utils.EnvUtils ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/class-use/IoUtils.html b/docs/darks/log/utils/class-use/IoUtils.html index 4adbe65..cf044a3 100644 --- a/docs/darks/log/utils/class-use/IoUtils.html +++ b/docs/darks/log/utils/class-use/IoUtils.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.utils.IoUtils ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.utils.IoUtils
��ʹ��

-
-û�� darks.log.utils.IoUtils ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.utils.IoUtils ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.utils.IoUtils
��ʹ��

+
+û�� darks.log.utils.IoUtils ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/class-use/ReflectUtils.html b/docs/darks/log/utils/class-use/ReflectUtils.html index 2adfeaf..e689ad0 100644 --- a/docs/darks/log/utils/class-use/ReflectUtils.html +++ b/docs/darks/log/utils/class-use/ReflectUtils.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.utils.ReflectUtils ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.utils.ReflectUtils
��ʹ��

-
-û�� darks.log.utils.ReflectUtils ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.utils.ReflectUtils ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.utils.ReflectUtils
��ʹ��

+
+û�� darks.log.utils.ReflectUtils ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/class-use/StorageUtils.html b/docs/darks/log/utils/class-use/StorageUtils.html index d7904fa..266c198 100644 --- a/docs/darks/log/utils/class-use/StorageUtils.html +++ b/docs/darks/log/utils/class-use/StorageUtils.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.utils.StorageUtils ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.utils.StorageUtils
��ʹ��

-
-û�� darks.log.utils.StorageUtils ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.utils.StorageUtils ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.utils.StorageUtils
��ʹ��

+
+û�� darks.log.utils.StorageUtils ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/class-use/StringUtils.html b/docs/darks/log/utils/class-use/StringUtils.html index a8da81d..c8b4060 100644 --- a/docs/darks/log/utils/class-use/StringUtils.html +++ b/docs/darks/log/utils/class-use/StringUtils.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.utils.StringUtils ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.utils.StringUtils
��ʹ��

-
-û�� darks.log.utils.StringUtils ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.utils.StringUtils ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.utils.StringUtils
��ʹ��

+
+û�� darks.log.utils.StringUtils ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/class-use/TimeUtils.html b/docs/darks/log/utils/class-use/TimeUtils.html index c1d871a..51b02f8 100644 --- a/docs/darks/log/utils/class-use/TimeUtils.html +++ b/docs/darks/log/utils/class-use/TimeUtils.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.utils.TimeUtils ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.utils.TimeUtils
��ʹ��

-
-û�� darks.log.utils.TimeUtils ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.utils.TimeUtils ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.utils.TimeUtils
��ʹ��

+
+û�� darks.log.utils.TimeUtils ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/package-frame.html b/docs/darks/log/utils/package-frame.html index 397c46c..bf385c8 100644 --- a/docs/darks/log/utils/package-frame.html +++ b/docs/darks/log/utils/package-frame.html @@ -1,42 +1,42 @@ - - - - - - -darks.log.utils - - - - - - - - - - - -darks.log.utils - - - - -
-��  - -
-EnvUtils -
-IoUtils -
-ReflectUtils -
-StorageUtils -
-StringUtils -
-TimeUtils
- - - - + + + + + + +darks.log.utils + + + + + + + + + + + +darks.log.utils + + + + +
+��  + +
+EnvUtils +
+IoUtils +
+ReflectUtils +
+StorageUtils +
+StringUtils +
+TimeUtils
+ + + + diff --git a/docs/darks/log/utils/package-summary.html b/docs/darks/log/utils/package-summary.html index 22602e0..0e71b4d 100644 --- a/docs/darks/log/utils/package-summary.html +++ b/docs/darks/log/utils/package-summary.html @@ -1,175 +1,175 @@ - - - - - - -darks.log.utils - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.utils -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-��ժҪ
EnvUtilsEnvUtils.java
IoUtilsIoUtils.java
ReflectUtilsReflectUtils.java
StorageUtilsStorageUtils.java
StringUtilsStringUtils.java
TimeUtilsTimeUtils.java
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.utils + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.utils +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+��ժҪ
EnvUtilsEnvUtils.java
IoUtilsIoUtils.java
ReflectUtilsReflectUtils.java
StorageUtilsStorageUtils.java
StringUtilsStringUtils.java
TimeUtilsTimeUtils.java
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/package-tree.html b/docs/darks/log/utils/package-tree.html index b049f99..349c137 100644 --- a/docs/darks/log/utils/package-tree.html +++ b/docs/darks/log/utils/package-tree.html @@ -1,151 +1,151 @@ - - - - - - -darks.log.utils ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.utils �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.utils ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.utils �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/package-use.html b/docs/darks/log/utils/package-use.html index 57b70d4..bcb961b 100644 --- a/docs/darks/log/utils/package-use.html +++ b/docs/darks/log/utils/package-use.html @@ -1,142 +1,142 @@ - - - - - - -������ darks.log.utils ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.utils
��ʹ��

-
-û�� darks.log.utils ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.utils ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.utils
��ʹ��

+
+û�� darks.log.utils ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/time/AndroidDateFormater.html b/docs/darks/log/utils/time/AndroidDateFormater.html index cf1320e..0360921 100644 --- a/docs/darks/log/utils/time/AndroidDateFormater.html +++ b/docs/darks/log/utils/time/AndroidDateFormater.html @@ -1,267 +1,267 @@ - - - - - - -AndroidDateFormater - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.utils.time -
-�� AndroidDateFormater

-
-java.lang.Object
-  �̳��� darks.log.utils.time.DateFormater
-      �̳��� darks.log.utils.time.AndroidDateFormater
-
-
-
-
public class AndroidDateFormater
extends DateFormater
- - -

-AndroidDateFormater.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
AndroidDateFormater(java.lang.String pattern) - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- java.lang.Stringformat(java.util.Date date) - -
-          Format date
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-AndroidDateFormater

-
-public AndroidDateFormater(java.lang.String pattern)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public java.lang.String format(java.util.Date date)
-
-
Format date -

-

-
ָ���ߣ�
�� DateFormater �е� format
-
-
-
������
date - Date Object -
���أ�
date string
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +AndroidDateFormater + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.utils.time +
+�� AndroidDateFormater

+
+java.lang.Object
+  �̳��� darks.log.utils.time.DateFormater
+      �̳��� darks.log.utils.time.AndroidDateFormater
+
+
+
+
public class AndroidDateFormater
extends DateFormater
+ + +

+AndroidDateFormater.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
AndroidDateFormater(java.lang.String pattern) + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ java.lang.Stringformat(java.util.Date date) + +
+          Format date
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+AndroidDateFormater

+
+public AndroidDateFormater(java.lang.String pattern)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public java.lang.String format(java.util.Date date)
+
+
Format date +

+

+
ָ���ߣ�
�� DateFormater �е� format
+
+
+
������
date - Date Object +
���أ�
date string
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/time/DateFormater.html b/docs/darks/log/utils/time/DateFormater.html index ad08862..6ca3863 100644 --- a/docs/darks/log/utils/time/DateFormater.html +++ b/docs/darks/log/utils/time/DateFormater.html @@ -1,266 +1,266 @@ - - - - - - -DateFormater - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.utils.time -
-�� DateFormater

-
-java.lang.Object
-  �̳��� darks.log.utils.time.DateFormater
-
-
-
ֱ����֪���ࣺ
AndroidDateFormater, JavaDateFormater
-
-
-
-
public abstract class DateFormater
extends java.lang.Object
- - -

-DateFormater.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
DateFormater(java.lang.String pattern) - -
-           
-  - - - - - - - - - - - -
-����ժҪ
-abstract  java.lang.Stringformat(java.util.Date date) - -
-          Format date
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-DateFormater

-
-public DateFormater(java.lang.String pattern)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public abstract java.lang.String format(java.util.Date date)
-
-
Format date -

-

-
������
date - Date Object -
���أ�
date string
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +DateFormater + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.utils.time +
+�� DateFormater

+
+java.lang.Object
+  �̳��� darks.log.utils.time.DateFormater
+
+
+
ֱ����֪���ࣺ
AndroidDateFormater, JavaDateFormater
+
+
+
+
public abstract class DateFormater
extends java.lang.Object
+ + +

+DateFormater.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
DateFormater(java.lang.String pattern) + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+abstract  java.lang.Stringformat(java.util.Date date) + +
+          Format date
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+DateFormater

+
+public DateFormater(java.lang.String pattern)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public abstract java.lang.String format(java.util.Date date)
+
+
Format date +

+

+
������
date - Date Object +
���أ�
date string
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/time/JavaDateFormater.html b/docs/darks/log/utils/time/JavaDateFormater.html index 545d2d2..3916bc6 100644 --- a/docs/darks/log/utils/time/JavaDateFormater.html +++ b/docs/darks/log/utils/time/JavaDateFormater.html @@ -1,267 +1,267 @@ - - - - - - -JavaDateFormater - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -darks.log.utils.time -
-�� JavaDateFormater

-
-java.lang.Object
-  �̳��� darks.log.utils.time.DateFormater
-      �̳��� darks.log.utils.time.JavaDateFormater
-
-
-
-
public class JavaDateFormater
extends DateFormater
- - -

-JavaDateFormater.java -

- -

-

-
�汾��
-
1.0.0
-
���ߣ�
-
Liu lihua
-
-
- -

- - - - - - - - - - - -
-���췽��ժҪ
JavaDateFormater(java.lang.String pattern) - -
-           
-  - - - - - - - - - - - -
-����ժҪ
- java.lang.Stringformat(java.util.Date date) - -
-          Format date
- - - - - - - -
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-���췽����ϸ��Ϣ
- -

-JavaDateFormater

-
-public JavaDateFormater(java.lang.String pattern)
-
-
- - - - - - - - -
-������ϸ��Ϣ
- -

-format

-
-public java.lang.String format(java.util.Date date)
-
-
Format date -

-

-
ָ���ߣ�
�� DateFormater �е� format
-
-
-
������
date - Date Object -
���أ�
date string
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +JavaDateFormater + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +darks.log.utils.time +
+�� JavaDateFormater

+
+java.lang.Object
+  �̳��� darks.log.utils.time.DateFormater
+      �̳��� darks.log.utils.time.JavaDateFormater
+
+
+
+
public class JavaDateFormater
extends DateFormater
+ + +

+JavaDateFormater.java +

+ +

+

+
�汾��
+
1.0.0
+
���ߣ�
+
Liu lihua
+
+
+ +

+ + + + + + + + + + + +
+���췽��ժҪ
JavaDateFormater(java.lang.String pattern) + +
+           
+  + + + + + + + + + + + +
+����ժҪ
+ java.lang.Stringformat(java.util.Date date) + +
+          Format date
+ + + + + + + +
���� java.lang.Object �̳еķ���
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+���췽����ϸ��Ϣ
+ +

+JavaDateFormater

+
+public JavaDateFormater(java.lang.String pattern)
+
+
+ + + + + + + + +
+������ϸ��Ϣ
+ +

+format

+
+public java.lang.String format(java.util.Date date)
+
+
Format date +

+

+
ָ���ߣ�
�� DateFormater �е� format
+
+
+
������
date - Date Object +
���أ�
date string
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/time/class-use/AndroidDateFormater.html b/docs/darks/log/utils/time/class-use/AndroidDateFormater.html index 6703cd4..ddf2778 100644 --- a/docs/darks/log/utils/time/class-use/AndroidDateFormater.html +++ b/docs/darks/log/utils/time/class-use/AndroidDateFormater.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.utils.time.AndroidDateFormater ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.utils.time.AndroidDateFormater
��ʹ��

-
-û�� darks.log.utils.time.AndroidDateFormater ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.utils.time.AndroidDateFormater ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.utils.time.AndroidDateFormater
��ʹ��

+
+û�� darks.log.utils.time.AndroidDateFormater ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/time/class-use/DateFormater.html b/docs/darks/log/utils/time/class-use/DateFormater.html index c5feab4..7dfe7e9 100644 --- a/docs/darks/log/utils/time/class-use/DateFormater.html +++ b/docs/darks/log/utils/time/class-use/DateFormater.html @@ -1,215 +1,215 @@ - - - - - - -�� darks.log.utils.time.DateFormater ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.utils.time.DateFormater
��ʹ��

-
- - - - - - - - - - - - - -
-ʹ�� DateFormater ��������
darks.log.utils  
darks.log.utils.time  
-  -

- - - - - -
-darks.log.utils �� DateFormater ��ʹ��
-  -

- - - - - - - - - -
���� DateFormater �� darks.log.utils �еķ���
-static DateFormaterTimeUtils.getFormatter(java.lang.String pattern) - -
-           
-  -

- - - - - -
-darks.log.utils.time �� DateFormater ��ʹ��
-  -

- - - - - - - - - - - - - -
darks.log.utils.time �� DateFormater ������
- classAndroidDateFormater - -
-          AndroidDateFormater.java
- classJavaDateFormater - -
-          JavaDateFormater.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.utils.time.DateFormater ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.utils.time.DateFormater
��ʹ��

+
+ + + + + + + + + + + + + +
+ʹ�� DateFormater ��������
darks.log.utils  
darks.log.utils.time  
+  +

+ + + + + +
+darks.log.utils �� DateFormater ��ʹ��
+  +

+ + + + + + + + + +
���� DateFormater �� darks.log.utils �еķ���
+static DateFormaterTimeUtils.getFormatter(java.lang.String pattern) + +
+           
+  +

+ + + + + +
+darks.log.utils.time �� DateFormater ��ʹ��
+  +

+ + + + + + + + + + + + + +
darks.log.utils.time �� DateFormater ������
+ classAndroidDateFormater + +
+          AndroidDateFormater.java
+ classJavaDateFormater + +
+          JavaDateFormater.java
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/time/class-use/JavaDateFormater.html b/docs/darks/log/utils/time/class-use/JavaDateFormater.html index 611dfe8..a4446e0 100644 --- a/docs/darks/log/utils/time/class-use/JavaDateFormater.html +++ b/docs/darks/log/utils/time/class-use/JavaDateFormater.html @@ -1,142 +1,142 @@ - - - - - - -�� darks.log.utils.time.JavaDateFormater ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� darks.log.utils.time.JavaDateFormater
��ʹ��

-
-û�� darks.log.utils.time.JavaDateFormater ���÷� -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +�� darks.log.utils.time.JavaDateFormater ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� darks.log.utils.time.JavaDateFormater
��ʹ��

+
+û�� darks.log.utils.time.JavaDateFormater ���÷� +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/time/package-frame.html b/docs/darks/log/utils/time/package-frame.html index 5863d68..1f06c8d 100644 --- a/docs/darks/log/utils/time/package-frame.html +++ b/docs/darks/log/utils/time/package-frame.html @@ -1,36 +1,36 @@ - - - - - - -darks.log.utils.time - - - - - - - - - - - -darks.log.utils.time - - - - -
-��  - -
-AndroidDateFormater -
-DateFormater -
-JavaDateFormater
- - - - + + + + + + +darks.log.utils.time + + + + + + + + + + + +darks.log.utils.time + + + + +
+��  + +
+AndroidDateFormater +
+DateFormater +
+JavaDateFormater
+ + + + diff --git a/docs/darks/log/utils/time/package-summary.html b/docs/darks/log/utils/time/package-summary.html index 050308f..f28b36e 100644 --- a/docs/darks/log/utils/time/package-summary.html +++ b/docs/darks/log/utils/time/package-summary.html @@ -1,163 +1,163 @@ - - - - - - -darks.log.utils.time - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-

-������ darks.log.utils.time -

- - - - - - - - - - - - - - - - - -
-��ժҪ
AndroidDateFormaterAndroidDateFormater.java
DateFormaterDateFormater.java
JavaDateFormaterJavaDateFormater.java
-  - -

-

-
-
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.utils.time + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+

+������ darks.log.utils.time +

+ + + + + + + + + + + + + + + + + +
+��ժҪ
AndroidDateFormaterAndroidDateFormater.java
DateFormaterDateFormater.java
JavaDateFormaterJavaDateFormater.java
+  + +

+

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/time/package-tree.html b/docs/darks/log/utils/time/package-tree.html index b8bc3d1..ce408de 100644 --- a/docs/darks/log/utils/time/package-tree.html +++ b/docs/darks/log/utils/time/package-tree.html @@ -1,153 +1,153 @@ - - - - - - -darks.log.utils.time ��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.utils.time �ķֲ�ṹ -

-
-
-
�������ֲ�ṹ��
����������
-
-

-��ֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +darks.log.utils.time ��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.utils.time �ķֲ�ṹ +

+
+
+
�������ֲ�ṹ��
����������
+
+

+��ֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/darks/log/utils/time/package-use.html b/docs/darks/log/utils/time/package-use.html index 916ca97..f99e1b8 100644 --- a/docs/darks/log/utils/time/package-use.html +++ b/docs/darks/log/utils/time/package-use.html @@ -1,187 +1,187 @@ - - - - - - -������ darks.log.utils.time ��ʹ�� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-������ darks.log.utils.time
��ʹ��

-
- - - - - - - - - - - - - -
-ʹ�� darks.log.utils.time ��������
darks.log.utils  
darks.log.utils.time  
-  -

- - - - - - - - -
-darks.log.utils ʹ�õ� darks.log.utils.time �е���
DateFormater - -
-          DateFormater.java
-  -

- - - - - - - - -
-darks.log.utils.time ʹ�õ� darks.log.utils.time �е���
DateFormater - -
-          DateFormater.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������ darks.log.utils.time ��ʹ�� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+������ darks.log.utils.time
��ʹ��

+
+ + + + + + + + + + + + + +
+ʹ�� darks.log.utils.time ��������
darks.log.utils  
darks.log.utils.time  
+  +

+ + + + + + + + +
+darks.log.utils ʹ�õ� darks.log.utils.time �е���
DateFormater + +
+          DateFormater.java
+  +

+ + + + + + + + +
+darks.log.utils.time ʹ�õ� darks.log.utils.time �е���
DateFormater + +
+          DateFormater.java
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/help-doc.html b/docs/help-doc.html index baf18ea..9ab3064 100644 --- a/docs/help-doc.html +++ b/docs/help-doc.html @@ -1,217 +1,217 @@ - - - - - - -API ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�� API �ĵ�����֯��ʽ

-
-�� API��Ӧ�ó����̽ӿڣ��ĵ�������Ӧ�ڵ������е���Ŀ��ҳ�棬����������

-����

-
- -

-���� ҳ���Ǵ� API �ĵ�����ҳ���ṩ���������������б�����ժҪ����ҳ��Ҳ���ܰ�����Щ������������������

-

-������

-
- -

-ÿ������������һ��ҳ�棬���а���������ͽӿڵ��б�����ժҪ����ҳ����԰����ĸ����

    -
  • �ӿڣ�б�壩
  • ��
  • ö��
  • �쳣
  • ����
  • ע������
-
-

-��/�ӿ�

-
- -

-ÿ���ࡢ�ӿڡ�Ƕ�����Ƕ�׽ӿڶ��и��Ե�ҳ�档����ÿ��ҳ�涼�������֣���/�ӿ�������ժҪ�����Լ���ϸ�ij�Ա��������ɣ�

    -
  • ��̳�ͼ
  • ֱ������
  • ������֪�ӽӿ�
  • ������֪ʵ����
  • ��/�ӿ�����
  • ��/�ӿ����� -

    -

  • Ƕ����ժҪ
  • �ֶ�ժҪ
  • ���췽��ժҪ
  • ����ժҪ -

    -

  • �ֶ���ϸ��Ϣ
  • ���췽����ϸ��Ϣ
  • ������ϸ��Ϣ
-ÿ��ժҪ��Ŀ����������Ŀ����ϸ�����ĵ�һ�䡣ժҪ��Ŀ����ĸ˳�����У�����ϸ����������Դ�����г��ֵ�˳�����С����������˳���Ա���������߼����顣
- -

-ע������

-
- -

-ÿ��ע�����Ͷ��и��Ե�ҳ�棬���а������²��֣�

    -
  • ע����������
  • ע����������
  • ����Ԫ��ժҪ
  • ��ѡԪ��ժҪ
  • Ԫ����ϸ��Ϣ
-
- -

-ö��

-
- -

-ÿ��ö�ٶ��и��Ե�ҳ�棬���а������²��֣�

    -
  • ö������
  • ö������
  • ö�ٳ���ժҪ
  • ö�ٳ�����ϸ��Ϣ
-
-

-ʹ��

-
-ÿ�����ĵ���������������ͽӿڶ��и��Եġ�ʹ�á�ҳ�档��ҳ�������ʹ�ø���������������κβ��ֵ����������ࡢ���������췽�����ֶΡ����ڸ��������ӿ� A���䡰ʹ�á�ҳ����� A �����ࡢ����Ϊ A ���ֶΡ����� A �ķ������Լ���������Ϊ A �IJ����ķ����͹��췽�������ʴ�ҳ��ķ����ǣ�����ת�������������ӿڣ�Ȼ�󵥻��������еġ�ʹ�á����ӡ�
-

-������ֲ�ṹ��

-
-������������������һ�� ��ֲ�ṹ ҳ�棬�Լ�ÿ���������ķֲ�ṹ��ÿ���ֲ�ṹҳ�涼��������б��ͽӿڵ��б����� java.lang.Object ��ʼ�����̳нṹ����������С��ӿڲ��� java.lang.Object �̳С�
    -
  • �鿴��������ҳ��ʱ����������������ʾ�����������ķֲ�ṹ��
  • �鿴�ض������������ӿ�ҳ��ʱ������������������ʾ���������ķֲ�ṹ��
-
-

-����

-
-���� ��������ĸ˳�����е������ࡢ�ӿڡ����췽�����������ֶε��б���
-

-��һ��/��һ��

-��Щ����ʹ������ת����һ������һ���ࡢ�ӿڡ������������ҳ�档

-���/�޿��

-��Щ����������ʾ������ HTML ��ܡ�����ҳ��������п�ܺ��޿��������ʾ��ʽ�� -

-

-�������

-ÿ�������л�����ⲿ�����඼�������л��ֶκͷ���������������Ϣ������ʵ�������ã�����ʹ�� API �Ŀ�������û��ʲô�ô������ܵ�������û�����ӣ���������ͨ�����з�ʽ��ȡ����Ϣ��ת���κ����л��࣬Ȼ�󵥻��������ġ�����μ��������еġ����л����񡱡� -

-

-�����ֶ�ֵ

-�����ֶ�ֵҳ���г��˾�̬�����ֶμ���ֵ�� -

- - -�˰����ļ�������ʹ�ñ�׼ doclet ���ɵ� API �ĵ��� - -
-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +API ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�� API �ĵ�����֯��ʽ

+
+�� API��Ӧ�ó����̽ӿڣ��ĵ�������Ӧ�ڵ������е���Ŀ��ҳ�棬����������

+����

+
+ +

+���� ҳ���Ǵ� API �ĵ�����ҳ���ṩ���������������б�����ժҪ����ҳ��Ҳ���ܰ�����Щ������������������

+

+������

+
+ +

+ÿ������������һ��ҳ�棬���а���������ͽӿڵ��б�����ժҪ����ҳ����԰����ĸ����

    +
  • �ӿڣ�б�壩
  • ��
  • ö��
  • �쳣
  • ����
  • ע������
+
+

+��/�ӿ�

+
+ +

+ÿ���ࡢ�ӿڡ�Ƕ�����Ƕ�׽ӿڶ��и��Ե�ҳ�档����ÿ��ҳ�涼�������֣���/�ӿ�������ժҪ�����Լ���ϸ�ij�Ա��������ɣ�

    +
  • ��̳�ͼ
  • ֱ������
  • ������֪�ӽӿ�
  • ������֪ʵ����
  • ��/�ӿ�����
  • ��/�ӿ����� +

    +

  • Ƕ����ժҪ
  • �ֶ�ժҪ
  • ���췽��ժҪ
  • ����ժҪ +

    +

  • �ֶ���ϸ��Ϣ
  • ���췽����ϸ��Ϣ
  • ������ϸ��Ϣ
+ÿ��ժҪ��Ŀ����������Ŀ����ϸ�����ĵ�һ�䡣ժҪ��Ŀ����ĸ˳�����У�����ϸ����������Դ�����г��ֵ�˳�����С����������˳���Ա���������߼����顣
+ +

+ע������

+
+ +

+ÿ��ע�����Ͷ��и��Ե�ҳ�棬���а������²��֣�

    +
  • ע����������
  • ע����������
  • ����Ԫ��ժҪ
  • ��ѡԪ��ժҪ
  • Ԫ����ϸ��Ϣ
+
+ +

+ö��

+
+ +

+ÿ��ö�ٶ��и��Ե�ҳ�棬���а������²��֣�

    +
  • ö������
  • ö������
  • ö�ٳ���ժҪ
  • ö�ٳ�����ϸ��Ϣ
+
+

+ʹ��

+
+ÿ�����ĵ���������������ͽӿڶ��и��Եġ�ʹ�á�ҳ�档��ҳ�������ʹ�ø���������������κβ��ֵ����������ࡢ���������췽�����ֶΡ����ڸ��������ӿ� A���䡰ʹ�á�ҳ����� A �����ࡢ����Ϊ A ���ֶΡ����� A �ķ������Լ���������Ϊ A �IJ����ķ����͹��췽�������ʴ�ҳ��ķ����ǣ�����ת�������������ӿڣ�Ȼ�󵥻��������еġ�ʹ�á����ӡ�
+

+������ֲ�ṹ��

+
+������������������һ�� ��ֲ�ṹ ҳ�棬�Լ�ÿ���������ķֲ�ṹ��ÿ���ֲ�ṹҳ�涼��������б��ͽӿڵ��б����� java.lang.Object ��ʼ�����̳нṹ����������С��ӿڲ��� java.lang.Object �̳С�
    +
  • �鿴��������ҳ��ʱ����������������ʾ�����������ķֲ�ṹ��
  • �鿴�ض������������ӿ�ҳ��ʱ������������������ʾ���������ķֲ�ṹ��
+
+

+����

+
+���� ��������ĸ˳�����е������ࡢ�ӿڡ����췽�����������ֶε��б���
+

+��һ��/��һ��

+��Щ����ʹ������ת����һ������һ���ࡢ�ӿڡ������������ҳ�档

+���/�޿��

+��Щ����������ʾ������ HTML ��ܡ�����ҳ��������п�ܺ��޿��������ʾ��ʽ�� +

+

+�������

+ÿ�������л�����ⲿ�����඼�������л��ֶκͷ���������������Ϣ������ʵ�������ã�����ʹ�� API �Ŀ�������û��ʲô�ô������ܵ�������û�����ӣ���������ͨ�����з�ʽ��ȡ����Ϣ��ת���κ����л��࣬Ȼ�󵥻��������ġ�����μ��������еġ����л����񡱡� +

+

+�����ֶ�ֵ

+�����ֶ�ֵҳ���г��˾�̬�����ֶμ���ֵ�� +

+ + +�˰����ļ�������ʹ�ñ�׼ doclet ���ɵ� API �ĵ��� + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/index-files/index-1.html b/docs/index-files/index-1.html index ca7623b..b965fee 100644 --- a/docs/index-files/index-1.html +++ b/docs/index-files/index-1.html @@ -1,209 +1,209 @@ - - - - - - -A - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-A

-
-
activateHandler() - -�� darks.log.appender.Appender �еķ��� -
The method wiil be called before first of doAppend called. -
activateHandler() - -�� darks.log.appender.impl.FileAppender �еķ��� -
The method wiil be called before first of doAppend called. -
activateHandler() - -�� darks.log.appender.impl.FileDateSizeAppender �еķ��� -
The method wiil be called before first of doAppend called. -
activateHandler() - -�� darks.log.appender.impl.SocketAppender �еķ��� -
The method wiil be called before first of doAppend called. -
addAppender(Appender, boolean) - -�� darks.log.DefaultLogger �еķ��� -
Add appender object -
addAppender(Appender, boolean) - -�� darks.log.InvalidLogger �еķ��� -
Add appender object -
addAppender(Appender, boolean) - -�� darks.log.Logger �еķ��� -
Add appender object -
addAppender(Appender) - -�� darks.log.LoggerHolder �еķ��� -
  -
addCategory(Category) - -�� darks.log.LoggerConfig �еķ��� -
Add category object -
addInherit(String, boolean) - -�� darks.log.LoggerConfig �еķ��� -
  -
ALLOW - -�� darks.log.filter.LoggerFilter �еľ�̬���� -
  -
Android - -�� darks.log.Logger �еľ�̬���� -
Android configration -
AndroidAppender - darks.log.appender.impl �е� ��
Appender for android.
AndroidAppender() - -�� darks.log.appender.impl.AndroidAppender �Ĺ��췽�� -
  -
AndroidConfig - darks.log �е� ��
Configure android application required when logs find configuration file.
AndroidDateFormater - darks.log.utils.time �е� ��
AndroidDateFormater.java
AndroidDateFormater(String) - -�� darks.log.utils.time.AndroidDateFormater �Ĺ��췽�� -
  -
AndroidKernelLogger - darks.log.kernel �е� ��
AndroidKernelLogger.java
AndroidKernelLogger() - -�� darks.log.kernel.AndroidKernelLogger �Ĺ��췽�� -
  -
append(LogMessage, String) - -�� darks.log.appender.Appender �еķ��� -
Append log message -
append(LogMessage, String) - -�� darks.log.appender.impl.AndroidAppender �еķ��� -
Append log message -
append(LogMessage, String) - -�� darks.log.appender.impl.ConsoleAppender �еķ��� -
Append log message -
append(LogMessage, String) - -�� darks.log.appender.impl.SqliteAppender �еķ��� -
  -
append(LogMessage, String) - -�� darks.log.appender.impl.StreamAppender �еķ��� -
Append log message -
Appender - darks.log.appender �е� ��
Appender interface for Custom log output.
Appender() - -�� darks.log.appender.Appender �Ĺ��췽�� -
  -
Appender(LoggerLayout) - -�� darks.log.appender.Appender �Ĺ��췽�� -
  -
AppenderManager - darks.log.appender �е� ��
Indicate to manage appenders Appender.
AppenderManager() - -�� darks.log.appender.AppenderManager �Ĺ��췽�� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +A - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+A

+
+
activateHandler() - +�� darks.log.appender.Appender �еķ��� +
The method will be called before first of doAppend called. +
activateHandler() - +�� darks.log.appender.impl.FileAppender �еķ��� +
The method will be called before first of doAppend called. +
activateHandler() - +�� darks.log.appender.impl.FileDateSizeAppender �еķ��� +
The method will be called before first of doAppend called. +
activateHandler() - +�� darks.log.appender.impl.SocketAppender �еķ��� +
The method will be called before first of doAppend called. +
addAppender(Appender, boolean) - +�� darks.log.DefaultLogger �еķ��� +
Add appender object +
addAppender(Appender, boolean) - +�� darks.log.InvalidLogger �еķ��� +
Add appender object +
addAppender(Appender, boolean) - +�� darks.log.Logger �еķ��� +
Add appender object +
addAppender(Appender) - +�� darks.log.LoggerHolder �еķ��� +
  +
addCategory(Category) - +�� darks.log.LoggerConfig �еķ��� +
Add category object +
addInherit(String, boolean) - +�� darks.log.LoggerConfig �еķ��� +
  +
ALLOW - +�� darks.log.filter.LoggerFilter �еľ�̬���� +
  +
Android - +�� darks.log.Logger �еľ�̬���� +
Android configration +
AndroidAppender - darks.log.appender.impl �е� ��
Appender for android.
AndroidAppender() - +�� darks.log.appender.impl.AndroidAppender �Ĺ��췽�� +
  +
AndroidConfig - darks.log �е� ��
Configure android application required when logs find configuration file.
AndroidDateFormater - darks.log.utils.time �е� ��
AndroidDateFormater.java
AndroidDateFormater(String) - +�� darks.log.utils.time.AndroidDateFormater �Ĺ��췽�� +
  +
AndroidKernelLogger - darks.log.kernel �е� ��
AndroidKernelLogger.java
AndroidKernelLogger() - +�� darks.log.kernel.AndroidKernelLogger �Ĺ��췽�� +
  +
append(LogMessage, String) - +�� darks.log.appender.Appender �еķ��� +
Append log message +
append(LogMessage, String) - +�� darks.log.appender.impl.AndroidAppender �еķ��� +
Append log message +
append(LogMessage, String) - +�� darks.log.appender.impl.ConsoleAppender �еķ��� +
Append log message +
append(LogMessage, String) - +�� darks.log.appender.impl.SqliteAppender �еķ��� +
  +
append(LogMessage, String) - +�� darks.log.appender.impl.StreamAppender �еķ��� +
Append log message +
Appender - darks.log.appender �е� ��
Appender interface for Custom log output.
Appender() - +�� darks.log.appender.Appender �Ĺ��췽�� +
  +
Appender(LoggerLayout) - +�� darks.log.appender.Appender �Ĺ��췽�� +
  +
AppenderManager - darks.log.appender �е� ��
Indicate to manage appenders Appender.
AppenderManager() - +�� darks.log.appender.AppenderManager �Ĺ��췽�� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-10.html b/docs/index-files/index-10.html index 1e530ed..9a11cd8 100644 --- a/docs/index-files/index-10.html +++ b/docs/index-files/index-10.html @@ -1,143 +1,143 @@ - - - - - - -J - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-J

-
-
JavaDateFormater - darks.log.utils.time �е� ��
JavaDateFormater.java
JavaDateFormater(String) - -�� darks.log.utils.time.JavaDateFormater �Ĺ��췽�� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +J - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+J

+
+
JavaDateFormater - darks.log.utils.time �е� ��
JavaDateFormater.java
JavaDateFormater(String) - +�� darks.log.utils.time.JavaDateFormater �Ĺ��췽�� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-11.html b/docs/index-files/index-11.html index 5514fed..0b93de9 100644 --- a/docs/index-files/index-11.html +++ b/docs/index-files/index-11.html @@ -1,140 +1,140 @@ - - - - - - -K - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-K

-
-
Kernel - darks.log.kernel �е� ��
Kernel.java
KernelLogger - darks.log.kernel �е� �ӿ�
KernelLogger.java
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +K - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+K

+
+
Kernel - darks.log.kernel �е� ��
Kernel.java
KernelLogger - darks.log.kernel �е� �ӿ�
KernelLogger.java
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-12.html b/docs/index-files/index-12.html index 2469331..1e886d4 100644 --- a/docs/index-files/index-12.html +++ b/docs/index-files/index-12.html @@ -1,270 +1,264 @@ - - - - - - -L - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-L

-
-
Level - darks.log �е� ��
Indicate the log message's level.
Level() - -�� darks.log.Level �Ĺ��췽�� -
  -
Level(String, int) - -�� darks.log.Level �Ĺ��췽�� -
Level constructor -
Level(String, int, int) - -�� darks.log.Level �Ĺ��췽�� -
Level constructor -
LEVEL_DEBUG - -�� darks.log.Level �еľ�̬���� -
  -
LEVEL_ERROR - -�� darks.log.Level �еľ�̬���� -
  -
LEVEL_INFO - -�� darks.log.Level �еľ�̬���� -
  -
LEVEL_TRACE - -�� darks.log.Level �еľ�̬���� -
  -
LEVEL_VERBOSE - -�� darks.log.Level �еľ�̬���� -
  -
LEVEL_WARN - -�� darks.log.Level �еľ�̬���� -
  -
LevelRangeFilter - darks.log.filter �е� ��
Level range filter will output log which level between levelMin and levelMax.
LevelRangeFilter() - -�� darks.log.filter.LevelRangeFilter �Ĺ��췽�� -
  -
LINE_RETURN - -�� darks.log.utils.StringUtils �еľ�̬���� -
  -
LINE_RETURN_LEN - -�� darks.log.utils.StringUtils �еľ�̬���� -
  -
loadConfig() - -�� darks.log.loader.ConfigLoader �еķ��� -
Load config file from Java/src root -
loadConfig(Context) - -�� darks.log.loader.ConfigLoader �еķ��� -
Load config from android environment -
loadConfig(InputStream) - -�� darks.log.loader.Loader �еķ��� -
Load config -
loadConfig(InputStream) - -�� darks.log.loader.PropertiesLoader �еķ��� -
Load config -
Loader - darks.log.loader �е� ��
Loader.java
Loader() - -�� darks.log.loader.Loader �Ĺ��췽�� -
  -
log(Level, String, Throwable) - -�� darks.log.DefaultLogger �еķ��� -
Output log message and exception stack information by target level. -
log(Level, String, Throwable) - -�� darks.log.InvalidLogger �еķ��� -
Output log message and exception stack information by target level. -
log(Level, String) - -�� darks.log.Logger �еķ��� -
Output log message by target level. -
log(Level, String, Throwable) - -�� darks.log.Logger �еķ��� -
Output log message and exception stack information by target level. -
logDebug(String) - -�� darks.log.kernel.Kernel �еľ�̬���� -
  -
logDebug(String, Throwable) - -�� darks.log.kernel.Kernel �еľ�̬���� -
  -
logError(String) - -�� darks.log.kernel.Kernel �еľ�̬���� -
  -
logError(String, Throwable) - -�� darks.log.kernel.Kernel �еľ�̬���� -
  -
LogException - darks.log.exceptions �е� �쳣
LogException.java
LogException() - -�쳣 darks.log.exceptions.LogException �Ĺ��췽�� -
  -
LogException(String, Throwable) - -�쳣 darks.log.exceptions.LogException �Ĺ��췽�� -
  -
LogException(String) - -�쳣 darks.log.exceptions.LogException �Ĺ��췽�� -
  -
LogException(Throwable) - -�쳣 darks.log.exceptions.LogException �Ĺ��췽�� -
  + + + + + + +L - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+L

+
+
Level - darks.log �е� ��
Indicate the log message's level.
Level() - +�� darks.log.Level �Ĺ��췽�� +
  +
Level(String, int) - +�� darks.log.Level �Ĺ��췽�� +
Level constructor +
Level(String, int, int) - +�� darks.log.Level �Ĺ��췽�� +
Level constructor +
LEVEL_DEBUG - +�� darks.log.Level �еľ�̬���� +
  +
LEVEL_ERROR - +�� darks.log.Level �еľ�̬���� +
  +
LEVEL_INFO - +�� darks.log.Level �еľ�̬���� +
  +
LEVEL_TRACE - +�� darks.log.Level �еľ�̬���� +
  +
LEVEL_VERBOSE - +�� darks.log.Level �еľ�̬���� +
  +
LEVEL_WARN - +�� darks.log.Level �еľ�̬���� +
  +
LevelRangeFilter - darks.log.filter �е� ��
Level range filter will output log which level between levelMin and levelMax.
LevelRangeFilter() - +�� darks.log.filter.LevelRangeFilter �Ĺ��췽�� +
  +
LINE_RETURN - +�� darks.log.utils.StringUtils �еľ�̬���� +
  +
LINE_RETURN_LEN - +�� darks.log.utils.StringUtils �еľ�̬���� +
  +
loadConfig() - +�� darks.log.loader.Loader �еķ��� +
Load config +
loadConfig() - +�� darks.log.loader.PropertiesLoader �еķ��� +
Load config +
Loader - darks.log.loader �е� ��
Loader.java
Loader(InputStream) - +�� darks.log.loader.Loader �Ĺ��췽�� +
  +
log(Level, String, Throwable) - +�� darks.log.DefaultLogger �еķ��� +
Output log message and exception stack information by target level. +
log(Level, String, Throwable) - +�� darks.log.InvalidLogger �еķ��� +
Output log message and exception stack information by target level. +
log(Level, String) - +�� darks.log.Logger �еķ��� +
Output log message by target level. +
log(Level, String, Throwable) - +�� darks.log.Logger �еķ��� +
Output log message and exception stack information by target level. +
logDebug(String) - +�� darks.log.kernel.Kernel �еľ�̬���� +
  +
logDebug(String, Throwable) - +�� darks.log.kernel.Kernel �еľ�̬���� +
  +
logError(String) - +�� darks.log.kernel.Kernel �еľ�̬���� +
  +
logError(String, Throwable) - +�� darks.log.kernel.Kernel �еľ�̬���� +
  +
LogException - darks.log.exceptions �е� �쳣
LogException.java
LogException() - +�쳣 darks.log.exceptions.LogException �Ĺ��췽�� +
  +
LogException(String, Throwable) - +�쳣 darks.log.exceptions.LogException �Ĺ��췽�� +
  +
LogException(String) - +�쳣 darks.log.exceptions.LogException �Ĺ��췽�� +
  +
LogException(Throwable) - +�쳣 darks.log.exceptions.LogException �Ĺ��췽�� +
 
Logger - darks.log �е� ��
Main logger class for developer - Create a logger object by class object or tag string.
Logger() - -�� darks.log.Logger �Ĺ��췽�� -
  + Create a logger object by class object or tag string.
Logger() - +�� darks.log.Logger �Ĺ��췽�� +
 
LoggerConfig - darks.log �е� ��
Logger configuration - LoggerConfig.java
LoggerConfig() - -�� darks.log.LoggerConfig �Ĺ��췽�� -
  -
LoggerFactory - darks.log �е� ��
Logger factory is used to create logger object.
LoggerFilter - darks.log.filter �е� ��
Filter will decide whether allow output log message.
LoggerFilter() - -�� darks.log.filter.LoggerFilter �Ĺ��췽�� -
  -
LoggerHolder - darks.log �е� ��
Appenders's holder for async appender.
LoggerHolder(LogMessage) - -�� darks.log.LoggerHolder �Ĺ��췽�� -
  + LoggerConfig.java
LoggerConfig() - +�� darks.log.LoggerConfig �Ĺ��췽�� +
  +
LoggerFactory - darks.log �е� ��
Logger factory is used to create logger object.
LoggerFilter - darks.log.filter �е� ��
Filter will decide whether allow output log message.
LoggerFilter() - +�� darks.log.filter.LoggerFilter �Ĺ��췽�� +
  +
LoggerHolder - darks.log �е� ��
Appenders's holder for async appender.
LoggerHolder(LogMessage) - +�� darks.log.LoggerHolder �Ĺ��췽�� +
 
LoggerLayout - darks.log.layout �е� ��
Logger layout.You can use it to format message or custom how to output - message.
LoggerLayout() - -�� darks.log.layout.LoggerLayout �Ĺ��췽�� -
  -
LoggerThread - darks.log �е� ��
Logger thread is used to process async appenders.
LoggerThread() - -�� darks.log.LoggerThread �Ĺ��췽�� -
  -
logInfo(String) - -�� darks.log.kernel.Kernel �еľ�̬���� -
  -
logInfo(String, Throwable) - -�� darks.log.kernel.Kernel �еľ�̬���� -
  + message.
LoggerLayout() - +�� darks.log.layout.LoggerLayout �Ĺ��췽�� +
  +
LoggerThread - darks.log �е� ��
Logger thread is used to process async appenders.
LoggerThread() - +�� darks.log.LoggerThread �Ĺ��췽�� +
  +
logInfo(String) - +�� darks.log.kernel.Kernel �еľ�̬���� +
  +
logInfo(String, Throwable) - +�� darks.log.kernel.Kernel �еľ�̬���� +
 
LogLevelPatternConvertor - darks.log.pattern.parser �е� ��
Format log level - LogLevelPatternConvertor.java
LogLevelPatternConvertor() - -�� darks.log.pattern.parser.LogLevelPatternConvertor �Ĺ��췽�� -
  -
LogMessage - darks.log �е� ��
Logger message object.
LogMessage() - -�� darks.log.LogMessage �Ĺ��췽�� -
  -
logWarn(String) - -�� darks.log.kernel.Kernel �еľ�̬���� -
  -
logWarn(String, Throwable) - -�� darks.log.kernel.Kernel �еľ�̬���� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + LogLevelPatternConvertor.java
LogLevelPatternConvertor() - +�� darks.log.pattern.parser.LogLevelPatternConvertor �Ĺ��췽�� +
  +
LogMessage - darks.log �е� ��
Logger message object.
LogMessage() - +�� darks.log.LogMessage �Ĺ��췽�� +
  +
logWarn(String) - +�� darks.log.kernel.Kernel �еľ�̬���� +
  +
logWarn(String, Throwable) - +�� darks.log.kernel.Kernel �еľ�̬���� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-13.html b/docs/index-files/index-13.html index 89b3e61..f60b528 100644 --- a/docs/index-files/index-13.html +++ b/docs/index-files/index-13.html @@ -1,145 +1,145 @@ - - - - - - -M - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-M

-
+ + + + + + +M - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+M

+
MessagePatternConvertor - darks.log.pattern.parser �е� ��
Format message directly - MessagePatternConvertor.java
MessagePatternConvertor() - -�� darks.log.pattern.parser.MessagePatternConvertor �Ĺ��췽�� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + MessagePatternConvertor.java
MessagePatternConvertor() - +�� darks.log.pattern.parser.MessagePatternConvertor �Ĺ��췽�� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-14.html b/docs/index-files/index-14.html index 65de891..b8b434e 100644 --- a/docs/index-files/index-14.html +++ b/docs/index-files/index-14.html @@ -1,161 +1,161 @@ - - - - - - -N - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-N

-
-
needPattern() - -�� darks.log.appender.Appender �еķ��� -
Whether need format log message string by layout. -
needPattern() - -�� darks.log.appender.impl.AndroidAppender �еķ��� -
Whether need format log message string by layout. -
needPattern() - -�� darks.log.appender.impl.ConsoleAppender �еķ��� -
Whether need format log message string by layout. -
needPattern() - -�� darks.log.appender.impl.SocketAppender �еķ��� -
Whether need format log message string by layout. -
needPattern() - -�� darks.log.appender.impl.SqliteAppender �еķ��� -
  -
needPattern() - -�� darks.log.appender.impl.StreamAppender �еķ��� -
Whether need format log message string by layout. -
newInstance(Class<?>) - -�� darks.log.utils.ReflectUtils �еľ�̬���� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +N - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+N

+
+
needPattern() - +�� darks.log.appender.Appender �еķ��� +
Whether need format log message string by layout. +
needPattern() - +�� darks.log.appender.impl.AndroidAppender �еķ��� +
Whether need format log message string by layout. +
needPattern() - +�� darks.log.appender.impl.ConsoleAppender �еķ��� +
Whether need format log message string by layout. +
needPattern() - +�� darks.log.appender.impl.SocketAppender �еķ��� +
Whether need format log message string by layout. +
needPattern() - +�� darks.log.appender.impl.SqliteAppender �еķ��� +
  +
needPattern() - +�� darks.log.appender.impl.StreamAppender �еķ��� +
Whether need format log message string by layout. +
newInstance(Class<?>) - +�� darks.log.utils.ReflectUtils �еľ�̬���� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-15.html b/docs/index-files/index-15.html index a314d72..6182c23 100644 --- a/docs/index-files/index-15.html +++ b/docs/index-files/index-15.html @@ -1,172 +1,172 @@ - - - - - - -P - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-P

-
-
parseConvertor() - -�� darks.log.pattern.parser.PatternParser �еķ��� -
Get PatternConvertor object + + + + + + +P - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+P

+
+
parseConvertor() - +�� darks.log.pattern.parser.PatternParser �еķ��� +
Get PatternConvertor object
PatternConvertor - darks.log.pattern.parser �е� ��
Indicate to convert message by pattern - PatternConvertor.java
PatternConvertor() - -�� darks.log.pattern.parser.PatternConvertor �Ĺ��췽�� -
  -
PatternException - darks.log.exceptions �е� �쳣
PatternException.java
PatternException() - -�쳣 darks.log.exceptions.PatternException �Ĺ��췽�� -
  -
PatternException(String, Throwable) - -�쳣 darks.log.exceptions.PatternException �Ĺ��췽�� -
  -
PatternException(String) - -�쳣 darks.log.exceptions.PatternException �Ĺ��췽�� -
  -
PatternException(Throwable) - -�쳣 darks.log.exceptions.PatternException �Ĺ��췽�� -
  -
PatternLayout - darks.log.layout �е� ��
Indicate that use pattern to format message.
PatternLayout() - -�� darks.log.layout.PatternLayout �Ĺ��췽�� -
  -
PatternParser - darks.log.pattern.parser �е� ��
PatternParser.java
PatternParser() - -�� darks.log.pattern.parser.PatternParser �Ĺ��췽�� -
  -
PatternParser(String) - -�� darks.log.pattern.parser.PatternParser �Ĺ��췽�� -
  -
PropertiesLoader - darks.log.loader �е� ��
Indicate to load config file from properties file.
PropertiesLoader() - -�� darks.log.loader.PropertiesLoader �Ĺ��췽�� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + PatternConvertor.java
PatternConvertor() - +�� darks.log.pattern.parser.PatternConvertor �Ĺ��췽�� +
  +
PatternException - darks.log.exceptions �е� �쳣
PatternException.java
PatternException() - +�쳣 darks.log.exceptions.PatternException �Ĺ��췽�� +
  +
PatternException(String, Throwable) - +�쳣 darks.log.exceptions.PatternException �Ĺ��췽�� +
  +
PatternException(String) - +�쳣 darks.log.exceptions.PatternException �Ĺ��췽�� +
  +
PatternException(Throwable) - +�쳣 darks.log.exceptions.PatternException �Ĺ��췽�� +
  +
PatternLayout - darks.log.layout �е� ��
Indicate that use pattern to format message.
PatternLayout() - +�� darks.log.layout.PatternLayout �Ĺ��췽�� +
  +
PatternParser - darks.log.pattern.parser �е� ��
PatternParser.java
PatternParser() - +�� darks.log.pattern.parser.PatternParser �Ĺ��췽�� +
  +
PatternParser(String) - +�� darks.log.pattern.parser.PatternParser �Ĺ��췽�� +
  +
PropertiesLoader - darks.log.loader �е� ��
Indicate to load config file from properties file.
PropertiesLoader(InputStream) - +�� darks.log.loader.PropertiesLoader �Ĺ��췽�� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-16.html b/docs/index-files/index-16.html index 62dd833..c22ab1e 100644 --- a/docs/index-files/index-16.html +++ b/docs/index-files/index-16.html @@ -1,158 +1,158 @@ - - - - - - -R - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-R

-
-
RecordOutputStream - darks.log.appender.io �е� ��
The stream will wrap normal output stream to record file bytes size.
RecordOutputStream(OutputStream) - -�� darks.log.appender.io.RecordOutputStream �Ĺ��췽�� -
  -
RecordOutputStream(OutputStream, long) - -�� darks.log.appender.io.RecordOutputStream �Ĺ��췽�� -
  -
ReflectUtils - darks.log.utils �е� ��
ReflectUtils.java
registerAppender(Appender) - -�� darks.log.appender.AppenderManager �еľ�̬���� -
Register appender. -
registerLevel(Level) - -�� darks.log.Level �еľ�̬���� -
Register level object -
replacePropertyVar(String) - -�� darks.log.utils.StringUtils �еľ�̬���� -
  -
run() - -�� darks.log.LoggerThread �еķ��� -
-
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +R - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+R

+
+
RecordOutputStream - darks.log.appender.io �е� ��
The stream will wrap normal output stream to record file bytes size.
RecordOutputStream(OutputStream) - +�� darks.log.appender.io.RecordOutputStream �Ĺ��췽�� +
  +
RecordOutputStream(OutputStream, long) - +�� darks.log.appender.io.RecordOutputStream �Ĺ��췽�� +
  +
ReflectUtils - darks.log.utils �е� ��
ReflectUtils.java
registerAppender(Appender) - +�� darks.log.appender.AppenderManager �еľ�̬���� +
Register appender. +
registerLevel(Level) - +�� darks.log.Level �еľ�̬���� +
Register level object +
replacePropertyVar(String) - +�� darks.log.utils.StringUtils �еľ�̬���� +
  +
run() - +�� darks.log.LoggerThread �еķ��� +
+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-17.html b/docs/index-files/index-17.html index 9ce96fa..f610501 100644 --- a/docs/index-files/index-17.html +++ b/docs/index-files/index-17.html @@ -1,366 +1,369 @@ - - - - - - -S - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-S

-
-
setAccept(boolean) - -�� darks.log.filter.LoggerFilter �еķ��� -
  -
setAppenders(String[]) - -�� darks.log.Category �еķ��� -
  -
setApplication(Application) - -�� darks.log.AndroidConfig �еķ��� -
  -
setAsync(boolean) - -�� darks.log.appender.Appender �еķ��� -
  -
setBuffered(boolean) - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
setBufferSize(int) - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
setCallerClass(String) - -�� darks.log.ThrowableInfo �еķ��� -
  -
setCallerMethod(String) - -�� darks.log.ThrowableInfo �еķ��� -
  -
setCategory(Category) - -�� darks.log.LogMessage �еķ��� -
  -
setClassName(String) - -�� darks.log.LogMessage �еķ��� -
  -
setCode(int) - -�� darks.log.Level �еķ��� -
  -
setConnectTimeout(int) - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
setConvertor(ConvertPattern) - -�� darks.log.layout.LoggerLayout �еķ��� -
  -
setDate(Date) - -�� darks.log.LogMessage �еķ��� -
  -
setEncoding(String) - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
setFileAppend(boolean) - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
setFileName(String) - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
setFilePicker(FilePicker) - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
setFilter(LoggerFilter) - -�� darks.log.appender.Appender �еķ��� -
  -
setImmediateFlush(boolean) - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
setInherit(boolean) - -�� darks.log.Category �еķ��� -
  -
setKeepAlive(boolean) - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
setKeepDay(int) - -�� darks.log.appender.impl.FileDateSizeAppender �еķ��� -
  -
setLayout(LoggerLayout) - -�� darks.log.appender.Appender �еķ��� -
  -
setLevel(Level) - -�� darks.log.Category �еķ��� -
  -
setLevel(int) - -�� darks.log.Level �еķ��� -
  -
setLevel(Level) - -�� darks.log.LogMessage �еķ��� -
  -
setLevelMax(String) - -�� darks.log.filter.LevelRangeFilter �еķ��� -
  -
setLevelMin(String) - -�� darks.log.filter.LevelRangeFilter �еķ��� -
  -
setLittleEndian(boolean) - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
setMaxSize(long) - -�� darks.log.appender.impl.FileDateSizeAppender �еķ��� -
  -
setMessage(String) - -�� darks.log.LogMessage �еķ��� -
  -
setMethodValue(Object, Method, Class<?>, String) - -�� darks.log.utils.ReflectUtils �еľ�̬���� -
  -
setMsg(LogMessage) - -�� darks.log.LoggerHolder �еķ��� -
  -
setMsgType(String) - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
setName(String) - -�� darks.log.appender.Appender �еķ��� -
  -
setName(String) - -�� darks.log.Category �еķ��� -
  -
setName(String) - -�� darks.log.Level �еķ��� -
  -
setNamespace(String) - -�� darks.log.LogMessage �еķ��� -
  -
setNext(PatternConvertor) - -�� darks.log.pattern.parser.PatternConvertor �еķ��� -
  -
setOutStream(OutputStream) - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
setParent(Category) - -�� darks.log.Category �еķ��� -
  -
setPattern(String) - -�� darks.log.layout.LoggerLayout �еķ��� -
  -
setPattern(String) - -�ӿ� darks.log.pattern.ConvertPattern �еķ��� -
Set pattern string -
setPattern(String) - -�� darks.log.pattern.DefaultPattern �еķ��� -
Set pattern string -
setPattern(String) - -�� darks.log.pattern.parser.PatternParser �еķ��� -
  -
setRoot(Category) - -�� darks.log.LoggerConfig �еķ��� -
  -
setRootInherit(boolean) - -�� darks.log.LoggerConfig �еķ��� -
  -
setSendBufferSize(int) - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
setServerHost(String) - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
setServerPort(int) - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
setSource(int) - -�� darks.log.ThrowableInfo �еķ��� -
  -
setSourceFile(String) - -�� darks.log.ThrowableInfo �еķ��� -
  -
setStringValue(Object, String, String) - -�� darks.log.utils.ReflectUtils �еľ�̬���� -
  -
setTcpNoDelay(boolean) - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
setThreadName(String) - -�� darks.log.LogMessage �еķ��� -
  -
setThrowable(Throwable) - -�� darks.log.ThrowableInfo �еķ��� -
  -
setThrowableInfo(ThrowableInfo) - -�� darks.log.LogMessage �еķ��� -
  -
setTimeStamp(long) - -�� darks.log.LogMessage �еķ��� -
  -
setToken(String) - -�� darks.log.pattern.parser.PatternConvertor �еķ��� -
  -
setWrapBytes(boolean) - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
SimpleLayout - darks.log.layout �е� ��
Indicate that it will output the simple message.
SimpleLayout() - -�� darks.log.layout.SimpleLayout �Ĺ��췽�� -
  -
SocketAppender - darks.log.appender.impl �е� ��
Appender for network.
SocketAppender() - -�� darks.log.appender.impl.SocketAppender �Ĺ��췽�� -
  + + + + + + +S - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+S

+
+
setAccept(boolean) - +�� darks.log.filter.LoggerFilter �еķ��� +
  +
setAppenders(String[]) - +�� darks.log.Category �еķ��� +
  +
setApplication(Application) - +�� darks.log.AndroidConfig �еķ��� +
  +
setAsync(boolean) - +�� darks.log.appender.Appender �еķ��� +
  +
setBuffered(boolean) - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
setBufferSize(int) - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
setCallerClass(String) - +�� darks.log.ThrowableInfo �еķ��� +
  +
setCallerMethod(String) - +�� darks.log.ThrowableInfo �еķ��� +
  +
setCategory(Category) - +�� darks.log.LogMessage �еķ��� +
  +
setClassName(String) - +�� darks.log.LogMessage �еķ��� +
  +
setCode(int) - +�� darks.log.Level �еķ��� +
  +
setConnectTimeout(int) - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
setConvertor(ConvertPattern) - +�� darks.log.layout.LoggerLayout �еķ��� +
  +
setDate(Date) - +�� darks.log.LogMessage �еķ��� +
  +
setEncoding(String) - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
setFileAppend(boolean) - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
setFileName(String) - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
setFilePicker(FilePicker) - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
setFilter(LoggerFilter) - +�� darks.log.appender.Appender �еķ��� +
  +
setImmediateFlush(boolean) - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
setInherit(boolean) - +�� darks.log.Category �еķ��� +
  +
setInputStream(InputStream) - +�� darks.log.loader.Loader �еķ��� +
  +
setKeepAlive(boolean) - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
setKeepDay(int) - +�� darks.log.appender.impl.FileDateSizeAppender �еķ��� +
  +
setLayout(LoggerLayout) - +�� darks.log.appender.Appender �еķ��� +
  +
setLevel(Level) - +�� darks.log.Category �еķ��� +
  +
setLevel(int) - +�� darks.log.Level �еķ��� +
  +
setLevel(Level) - +�� darks.log.LogMessage �еķ��� +
  +
setLevelMax(String) - +�� darks.log.filter.LevelRangeFilter �еķ��� +
  +
setLevelMin(String) - +�� darks.log.filter.LevelRangeFilter �еķ��� +
  +
setLittleEndian(boolean) - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
setMaxSize(long) - +�� darks.log.appender.impl.FileDateSizeAppender �еķ��� +
  +
setMessage(String) - +�� darks.log.LogMessage �еķ��� +
  +
setMethodValue(Object, Method, Class<?>, String) - +�� darks.log.utils.ReflectUtils �еľ�̬���� +
  +
setMsg(LogMessage) - +�� darks.log.LoggerHolder �еķ��� +
  +
setMsgType(String) - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
setName(String) - +�� darks.log.appender.Appender �еķ��� +
  +
setName(String) - +�� darks.log.Category �еķ��� +
  +
setName(String) - +�� darks.log.Level �еķ��� +
  +
setNamespace(String) - +�� darks.log.LogMessage �еķ��� +
  +
setNext(PatternConvertor) - +�� darks.log.pattern.parser.PatternConvertor �еķ��� +
  +
setOutStream(OutputStream) - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
setParent(Category) - +�� darks.log.Category �еķ��� +
  +
setPattern(String) - +�� darks.log.layout.LoggerLayout �еķ��� +
  +
setPattern(String) - +�ӿ� darks.log.pattern.ConvertPattern �еķ��� +
Set pattern string +
setPattern(String) - +�� darks.log.pattern.DefaultPattern �еķ��� +
Set pattern string +
setPattern(String) - +�� darks.log.pattern.parser.PatternParser �еķ��� +
  +
setRoot(Category) - +�� darks.log.LoggerConfig �еķ��� +
  +
setRootInherit(boolean) - +�� darks.log.LoggerConfig �еķ��� +
  +
setSendBufferSize(int) - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
setServerHost(String) - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
setServerPort(int) - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
setSource(int) - +�� darks.log.ThrowableInfo �еķ��� +
  +
setSourceFile(String) - +�� darks.log.ThrowableInfo �еķ��� +
  +
setStringValue(Object, String, String) - +�� darks.log.utils.ReflectUtils �еľ�̬���� +
  +
setTcpNoDelay(boolean) - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
setThreadName(String) - +�� darks.log.LogMessage �еķ��� +
  +
setThrowable(Throwable) - +�� darks.log.ThrowableInfo �еķ��� +
  +
setThrowableInfo(ThrowableInfo) - +�� darks.log.LogMessage �еķ��� +
  +
setTimeStamp(long) - +�� darks.log.LogMessage �еķ��� +
  +
setToken(String) - +�� darks.log.pattern.parser.PatternConvertor �еķ��� +
  +
setWrapBytes(boolean) - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
SimpleLayout - darks.log.layout �е� ��
Indicate that it will output the simple message.
SimpleLayout() - +�� darks.log.layout.SimpleLayout �Ĺ��췽�� +
  +
SocketAppender - darks.log.appender.impl �е� ��
Appender for network.
SocketAppender() - +�� darks.log.appender.impl.SocketAppender �Ĺ��췽�� +
 
SourcePatternConvertor - darks.log.pattern.parser �е� ��
Format source code line - SourcePatternConvertor.java
SourcePatternConvertor() - -�� darks.log.pattern.parser.SourcePatternConvertor �Ĺ��췽�� -
  -
SqliteAppender - darks.log.appender.impl �е� ��
 
SqliteAppender() - -�� darks.log.appender.impl.SqliteAppender �Ĺ��췽�� -
  -
StorageUtils - darks.log.utils �е� ��
StorageUtils.java
StorageUtils() - -�� darks.log.utils.StorageUtils �Ĺ��췽�� -
  -
StreamAppender - darks.log.appender.impl �е� ��
Appender for stream.
StreamAppender() - -�� darks.log.appender.impl.StreamAppender �Ĺ��췽�� -
  -
StreamAppender(LoggerLayout) - -�� darks.log.appender.impl.StreamAppender �Ĺ��췽�� -
  -
StreamAppender(OutputStream) - -�� darks.log.appender.impl.StreamAppender �Ĺ��췽�� -
  -
StreamAppender(LoggerLayout, OutputStream) - -�� darks.log.appender.impl.StreamAppender �Ĺ��췽�� -
  + SourcePatternConvertor.java
SourcePatternConvertor() - +�� darks.log.pattern.parser.SourcePatternConvertor �Ĺ��췽�� +
  +
SqliteAppender - darks.log.appender.impl �е� ��
 
SqliteAppender() - +�� darks.log.appender.impl.SqliteAppender �Ĺ��췽�� +
  +
StorageUtils - darks.log.utils �е� ��
StorageUtils.java
StorageUtils() - +�� darks.log.utils.StorageUtils �Ĺ��췽�� +
  +
StreamAppender - darks.log.appender.impl �е� ��
Appender for stream.
StreamAppender() - +�� darks.log.appender.impl.StreamAppender �Ĺ��췽�� +
  +
StreamAppender(LoggerLayout) - +�� darks.log.appender.impl.StreamAppender �Ĺ��췽�� +
  +
StreamAppender(OutputStream) - +�� darks.log.appender.impl.StreamAppender �Ĺ��췽�� +
  +
StreamAppender(LoggerLayout, OutputStream) - +�� darks.log.appender.impl.StreamAppender �Ĺ��췽�� +
 
StringPatternConvertor - darks.log.pattern.parser �е� ��
Format a string directly - StringPatternConvertor.java
StringPatternConvertor(String) - -�� darks.log.pattern.parser.StringPatternConvertor �Ĺ��췽�� -
  -
StringUtils - darks.log.utils �е� ��
StringUtils.java
StringUtils() - -�� darks.log.utils.StringUtils �Ĺ��췽�� -
  -
STYPE_LOG_OBJECT - -�� darks.log.appender.impl.StreamAppender �еľ�̬���� -
  -
STYPE_LOG_STRING - -�� darks.log.appender.impl.StreamAppender �еľ�̬���� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + StringPatternConvertor.java
StringPatternConvertor(String) - +�� darks.log.pattern.parser.StringPatternConvertor �Ĺ��췽�� +
  +
StringUtils - darks.log.utils �е� ��
StringUtils.java
StringUtils() - +�� darks.log.utils.StringUtils �Ĺ��췽�� +
  +
STYPE_LOG_OBJECT - +�� darks.log.appender.impl.StreamAppender �еľ�̬���� +
  +
STYPE_LOG_STRING - +�� darks.log.appender.impl.StreamAppender �еľ�̬���� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-18.html b/docs/index-files/index-18.html index 5068c22..a665806 100644 --- a/docs/index-files/index-18.html +++ b/docs/index-files/index-18.html @@ -1,189 +1,189 @@ - - - - - - -T - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-T

-
+ + + + + + +T - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+T

+
TagPatternConvertor - darks.log.pattern.parser �е� ��
Format class name or nsmaspace/tags - TagPatternConvertor.java
TagPatternConvertor(boolean) - -�� darks.log.pattern.parser.TagPatternConvertor �Ĺ��췽�� -
  + TagPatternConvertor.java
TagPatternConvertor(boolean) - +�� darks.log.pattern.parser.TagPatternConvertor �Ĺ��췽�� +
 
ThreadPatternConvertor - darks.log.pattern.parser �е� ��
Format thread name by pattern - ThreadPatternConvertor.java
ThreadPatternConvertor() - -�� darks.log.pattern.parser.ThreadPatternConvertor �Ĺ��췽�� -
  -
ThrowableInfo - darks.log �е� ��
Log message throwable information.
ThrowableInfo() - -�� darks.log.ThrowableInfo �Ĺ��췽�� -
  -
ThrowableInfo(StackTraceElement, Throwable) - -�� darks.log.ThrowableInfo �Ĺ��췽�� -
  -
TimeUtils - darks.log.utils �е� ��
TimeUtils.java
TimeUtils() - -�� darks.log.utils.TimeUtils �Ĺ��췽�� -
  -
toString() - -�� darks.log.Category �еķ��� -
-
toString() - -�� darks.log.Level �еķ��� -
-
toString() - -�� darks.log.LogMessage �еķ��� -
-
toString() - -�� darks.log.pattern.parser.StringPatternConvertor �еķ��� -
-
toString() - -�� darks.log.ThrowableInfo �еķ��� -
-
TRACE - -�� darks.log.Level �еľ�̬���� -
  -
trace(String) - -�� darks.log.Logger �еķ��� -
Output log message by level TRACE. -
trace(String, Throwable) - -�� darks.log.Logger �еķ��� -
Output log message and exception stack information by level TRACE. -
TYPE_LOG_OBJECT - -�� darks.log.appender.impl.StreamAppender �еľ�̬���� -
Write log message object with pattern if you have setted 'needPattern' -
TYPE_LOG_STRING - -�� darks.log.appender.impl.StreamAppender �еľ�̬���� -
Write log string to stream -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + ThreadPatternConvertor.java
ThreadPatternConvertor() - +�� darks.log.pattern.parser.ThreadPatternConvertor �Ĺ��췽�� +
  +
ThrowableInfo - darks.log �е� ��
Log message throwable information.
ThrowableInfo() - +�� darks.log.ThrowableInfo �Ĺ��췽�� +
  +
ThrowableInfo(StackTraceElement, Throwable) - +�� darks.log.ThrowableInfo �Ĺ��췽�� +
  +
TimeUtils - darks.log.utils �е� ��
TimeUtils.java
TimeUtils() - +�� darks.log.utils.TimeUtils �Ĺ��췽�� +
  +
toString() - +�� darks.log.Category �еķ��� +
+
toString() - +�� darks.log.Level �еķ��� +
+
toString() - +�� darks.log.LogMessage �еķ��� +
+
toString() - +�� darks.log.pattern.parser.StringPatternConvertor �еķ��� +
+
toString() - +�� darks.log.ThrowableInfo �еķ��� +
+
TRACE - +�� darks.log.Level �еľ�̬���� +
  +
trace(String) - +�� darks.log.Logger �еķ��� +
Output log message by level TRACE. +
trace(String, Throwable) - +�� darks.log.Logger �еķ��� +
Output log message and exception stack information by level TRACE. +
TYPE_LOG_OBJECT - +�� darks.log.appender.impl.StreamAppender �еľ�̬���� +
Write log message object with pattern if you have setted 'needPattern' +
TYPE_LOG_STRING - +�� darks.log.appender.impl.StreamAppender �еľ�̬���� +
Write log string to stream +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-19.html b/docs/index-files/index-19.html index 3a7d96a..90ed907 100644 --- a/docs/index-files/index-19.html +++ b/docs/index-files/index-19.html @@ -1,152 +1,152 @@ - - - - - - -V - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-V

-
-
validate() - -�� darks.log.pattern.parser.PatternParser �еķ��� -
Validate whether pattern is available -
VERBOSE - -�� darks.log.Level �еľ�̬���� -
  -
verbose(String) - -�� darks.log.Logger �еķ��� -
Output log message by level VERBOSE. -
verbose(String, Throwable) - -�� darks.log.Logger �еķ��� -
Output log message and exception stack information by level VERBOSE. -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +V - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+V

+
+
validate() - +�� darks.log.pattern.parser.PatternParser �еķ��� +
Validate whether pattern is available +
VERBOSE - +�� darks.log.Level �еľ�̬���� +
  +
verbose(String) - +�� darks.log.Logger �еķ��� +
Output log message by level VERBOSE. +
verbose(String, Throwable) - +�� darks.log.Logger �еķ��� +
Output log message and exception stack information by level VERBOSE. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-2.html b/docs/index-files/index-2.html index 58f4c76..175167e 100644 --- a/docs/index-files/index-2.html +++ b/docs/index-files/index-2.html @@ -1,146 +1,146 @@ - - - - - - -B - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-B

-
-
buildAppenderArray() - -�� darks.log.Category �еķ��� -
Build appenders list from appender tags array -
buildThrowableInfo(StackTraceElement, Throwable) - -�� darks.log.ThrowableInfo �еķ��� -
Build throwable information by exception object. -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +B - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+B

+
+
buildAppenderArray() - +�� darks.log.Category �еķ��� +
Build appenders list from appender tags array +
buildThrowableInfo(StackTraceElement, Throwable) - +�� darks.log.ThrowableInfo �еķ��� +
Build throwable information by exception object. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-20.html b/docs/index-files/index-20.html index 4dc670c..ec4ba4a 100644 --- a/docs/index-files/index-20.html +++ b/docs/index-files/index-20.html @@ -1,176 +1,176 @@ - - - - - - -W - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-W

-
-
warn(String) - -�� darks.log.kernel.AndroidKernelLogger �еķ��� -
  -
warn(String, Throwable) - -�� darks.log.kernel.AndroidKernelLogger �еķ��� -
  -
warn(String) - -�� darks.log.kernel.ConsoleKernelLogger �еķ��� -
  -
warn(String, Throwable) - -�� darks.log.kernel.ConsoleKernelLogger �еķ��� -
  -
warn(String) - -�ӿ� darks.log.kernel.KernelLogger �еķ��� -
  -
warn(String, Throwable) - -�ӿ� darks.log.kernel.KernelLogger �еķ��� -
  -
WARN - -�� darks.log.Level �еľ�̬���� -
  -
warn(String) - -�� darks.log.Logger �еķ��� -
Output log message by level WARN. -
warn(String, Throwable) - -�� darks.log.Logger �еķ��� -
Output log message and exception stack information by level WARN. -
write(int) - -�� darks.log.appender.io.RecordOutputStream �еķ��� -
-
write(byte[]) - -�� darks.log.appender.io.RecordOutputStream �еķ��� -
-
write(byte[], int, int) - -�� darks.log.appender.io.RecordOutputStream �еķ��� -
-
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +W - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+W

+
+
warn(String) - +�� darks.log.kernel.AndroidKernelLogger �еķ��� +
  +
warn(String, Throwable) - +�� darks.log.kernel.AndroidKernelLogger �еķ��� +
  +
warn(String) - +�� darks.log.kernel.ConsoleKernelLogger �еķ��� +
  +
warn(String, Throwable) - +�� darks.log.kernel.ConsoleKernelLogger �еķ��� +
  +
warn(String) - +�ӿ� darks.log.kernel.KernelLogger �еķ��� +
  +
warn(String, Throwable) - +�ӿ� darks.log.kernel.KernelLogger �еķ��� +
  +
WARN - +�� darks.log.Level �еľ�̬���� +
  +
warn(String) - +�� darks.log.Logger �еķ��� +
Output log message by level WARN. +
warn(String, Throwable) - +�� darks.log.Logger �еķ��� +
Output log message and exception stack information by level WARN. +
write(int) - +�� darks.log.appender.io.RecordOutputStream �еķ��� +
+
write(byte[]) - +�� darks.log.appender.io.RecordOutputStream �еķ��� +
+
write(byte[], int, int) - +�� darks.log.appender.io.RecordOutputStream �еķ��� +
+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-3.html b/docs/index-files/index-3.html index 3973129..f5b67f2 100644 --- a/docs/index-files/index-3.html +++ b/docs/index-files/index-3.html @@ -1,211 +1,211 @@ - - - - - - -C - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-C

-
-
Category - darks.log �е� ��
Record logger's category information.Include appenders, level, name and so on.
Category() - -�� darks.log.Category �Ĺ��췽�� -
  -
Category(Category) - -�� darks.log.Category �Ĺ��췽�� -
  -
checkAndReplaceEmulatedPath(String) - -�� darks.log.utils.StorageUtils �еľ�̬���� -
  -
ClassFinder - darks.log.loader �е� ��
Indicate to find class from target directories.
close() - -�� darks.log.appender.io.RecordOutputStream �еķ��� -
-
closeIO(InputStream) - -�� darks.log.utils.IoUtils �еľ�̬���� -
  -
closeIO(OutputStream) - -�� darks.log.utils.IoUtils �еľ�̬���� -
  -
closeIO(Reader) - -�� darks.log.utils.IoUtils �еľ�̬���� -
  -
closeIO(Writer) - -�� darks.log.utils.IoUtils �еľ�̬���� -
  -
closeStream() - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
compare(Level, Level) - -�� darks.log.Level �еľ�̬���� -
Compare level between two levels. -
compare(Level) - -�� darks.log.Level �еķ��� -
Compare level between this and target level. -
CONFIG_EXT - -�� darks.log.loader.ConfigLoader �еľ�̬���� -
  -
CONFIG_FILE - -�� darks.log.loader.ConfigLoader �еľ�̬���� -
  -
CONFIG_FILE_NAME - -�� darks.log.loader.ConfigLoader �еľ�̬���� -
  -
ConfigException - darks.log.exceptions �е� �쳣
ConfigException.java
ConfigException() - -�쳣 darks.log.exceptions.ConfigException �Ĺ��췽�� -
  -
ConfigException(String, Throwable) - -�쳣 darks.log.exceptions.ConfigException �Ĺ��췽�� -
  -
ConfigException(String) - -�쳣 darks.log.exceptions.ConfigException �Ĺ��췽�� -
  -
ConfigException(Throwable) - -�쳣 darks.log.exceptions.ConfigException �Ĺ��췽�� -
  + + + + + + +C - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+C

+
+
Category - darks.log �е� ��
Record logger's category information.Include appenders, level, name and so on.
Category() - +�� darks.log.Category �Ĺ��췽�� +
  +
Category(Category) - +�� darks.log.Category �Ĺ��췽�� +
  +
checkAndReplaceEmulatedPath(String) - +�� darks.log.utils.StorageUtils �еľ�̬���� +
  +
ClassFinder - darks.log.loader �е� ��
Indicate to find class from target directories.
close() - +�� darks.log.appender.io.RecordOutputStream �еķ��� +
+
closeIO(InputStream) - +�� darks.log.utils.IoUtils �еľ�̬���� +
  +
closeIO(OutputStream) - +�� darks.log.utils.IoUtils �еľ�̬���� +
  +
closeIO(Reader) - +�� darks.log.utils.IoUtils �еľ�̬���� +
  +
closeIO(Writer) - +�� darks.log.utils.IoUtils �еľ�̬���� +
  +
closeStream() - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
compare(Level, Level) - +�� darks.log.Level �еľ�̬���� +
Compare level between two levels. +
compare(Level) - +�� darks.log.Level �еķ��� +
Compare level between this and target level. +
CONFIG_EXT - +�� darks.log.loader.ConfigLoader �еľ�̬���� +
  +
CONFIG_FILE - +�� darks.log.loader.ConfigLoader �еľ�̬���� +
  +
CONFIG_FILE_NAME - +�� darks.log.loader.ConfigLoader �еľ�̬���� +
  +
ConfigException - darks.log.exceptions �е� �쳣
ConfigException.java
ConfigException() - +�쳣 darks.log.exceptions.ConfigException �Ĺ��췽�� +
  +
ConfigException(String, Throwable) - +�쳣 darks.log.exceptions.ConfigException �Ĺ��췽�� +
  +
ConfigException(String) - +�쳣 darks.log.exceptions.ConfigException �Ĺ��췽�� +
  +
ConfigException(Throwable) - +�쳣 darks.log.exceptions.ConfigException �Ĺ��췽�� +
 
ConfigLoader - darks.log.loader �е� ��
Indicate to load logger configuration If you want logger to work in the android environment, you must configure android application by - "Logger.Android.setApplication(...);" before loaded.
ConfigLoader() - -�� darks.log.loader.ConfigLoader �Ĺ��췽�� -
  -
connect() - -�� darks.log.appender.impl.SocketAppender �еķ��� -
Connect to server -
ConsoleAppender - darks.log.appender.impl �е� ��
Appender for system console.
ConsoleAppender() - -�� darks.log.appender.impl.ConsoleAppender �Ĺ��췽�� -
  -
ConsoleKernelLogger - darks.log.kernel �е� ��
ConsoleKernelLogger.java
ConsoleKernelLogger() - -�� darks.log.kernel.ConsoleKernelLogger �Ĺ��췽�� -
  -
ConvertPattern - darks.log.pattern �е� �ӿ�
Indicate to convert message to target pattern format.
createFile(String, boolean, boolean, int) - -�� darks.log.appender.impl.FileAppender �еķ��� -
Create file by paramters -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + "Logger.Android.setApplication(...);" before loaded.
ConfigLoader() - +�� darks.log.loader.ConfigLoader �Ĺ��췽�� +
  +
connect() - +�� darks.log.appender.impl.SocketAppender �еķ��� +
Connect to server +
ConsoleAppender - darks.log.appender.impl �е� ��
Appender for system console.
ConsoleAppender() - +�� darks.log.appender.impl.ConsoleAppender �Ĺ��췽�� +
  +
ConsoleKernelLogger - darks.log.kernel �е� ��
ConsoleKernelLogger.java
ConsoleKernelLogger() - +�� darks.log.kernel.ConsoleKernelLogger �Ĺ��췽�� +
  +
ConvertPattern - darks.log.pattern �е� �ӿ�
Indicate to convert message to target pattern format.
createFile(String, boolean, boolean, int) - +�� darks.log.appender.impl.FileAppender �еķ��� +
Create file by paramters +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-4.html b/docs/index-files/index-4.html index 357e3ae..e34bf55 100644 --- a/docs/index-files/index-4.html +++ b/docs/index-files/index-4.html @@ -1,203 +1,203 @@ - - - - - - -D - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-D

-
-
darks.log.appender - ������ darks.log.appender
 
darks.log.appender.impl - ������ darks.log.appender.impl
 
darks.log.appender.io - ������ darks.log.appender.io
 
darks.log.exceptions - ������ darks.log.exceptions
 
darks.log.externs - ������ darks.log.externs
 
darks.log.filter - ������ darks.log.filter
 
darks.log.kernel - ������ darks.log.kernel
 
darks.log.layout - ������ darks.log.layout
 
darks.log.loader - ������ darks.log.loader
 
darks.log.pattern - ������ darks.log.pattern
 
darks.log.pattern.parser - ������ darks.log.pattern.parser
 
darks.log.utils - ������ darks.log.utils
 
darks.log.utils.time - ������ darks.log.utils.time
 
DateFormater - darks.log.utils.time �е� ��
DateFormater.java
DateFormater(String) - -�� darks.log.utils.time.DateFormater �Ĺ��췽�� -
  + + + + + + +D - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+D

+
+
darks.log.appender - ������ darks.log.appender
 
darks.log.appender.impl - ������ darks.log.appender.impl
 
darks.log.appender.io - ������ darks.log.appender.io
 
darks.log.exceptions - ������ darks.log.exceptions
 
darks.log.externs - ������ darks.log.externs
 
darks.log.filter - ������ darks.log.filter
 
darks.log.kernel - ������ darks.log.kernel
 
darks.log.layout - ������ darks.log.layout
 
darks.log.loader - ������ darks.log.loader
 
darks.log.pattern - ������ darks.log.pattern
 
darks.log.pattern.parser - ������ darks.log.pattern.parser
 
darks.log.utils - ������ darks.log.utils
 
darks.log.utils.time - ������ darks.log.utils.time
 
DateFormater - darks.log.utils.time �е� ��
DateFormater.java
DateFormater(String) - +�� darks.log.utils.time.DateFormater �Ĺ��췽�� +
 
DatePatternConvertor - darks.log.pattern.parser �е� ��
Format date pattern - DatePatternConvertor.java
DatePatternConvertor() - -�� darks.log.pattern.parser.DatePatternConvertor �Ĺ��췽�� -
  -
debug(String) - -�� darks.log.kernel.AndroidKernelLogger �еķ��� -
  -
debug(String, Throwable) - -�� darks.log.kernel.AndroidKernelLogger �еķ��� -
  -
debug(String) - -�� darks.log.kernel.ConsoleKernelLogger �еķ��� -
  -
debug(String, Throwable) - -�� darks.log.kernel.ConsoleKernelLogger �еķ��� -
  -
debug(String) - -�ӿ� darks.log.kernel.KernelLogger �еķ��� -
  -
debug(String, Throwable) - -�ӿ� darks.log.kernel.KernelLogger �еķ��� -
  -
DEBUG - -�� darks.log.Level �еľ�̬���� -
  -
debug(String) - -�� darks.log.Logger �еķ��� -
Output log message by level DEBUG. -
debug(String, Throwable) - -�� darks.log.Logger �еķ��� -
Output log message and exception stack information by level DEBUG. -
decide(LogMessage) - -�� darks.log.filter.LevelRangeFilter �еķ��� -
Decide log message whether allow output. -
decide(LogMessage) - -�� darks.log.filter.LoggerFilter �еķ��� -
Decide log message whether allow output. + DatePatternConvertor.java
DatePatternConvertor() - +�� darks.log.pattern.parser.DatePatternConvertor �Ĺ��췽�� +
  +
debug(String) - +�� darks.log.kernel.AndroidKernelLogger �еķ��� +
  +
debug(String, Throwable) - +�� darks.log.kernel.AndroidKernelLogger �еķ��� +
  +
debug(String) - +�� darks.log.kernel.ConsoleKernelLogger �еķ��� +
  +
debug(String, Throwable) - +�� darks.log.kernel.ConsoleKernelLogger �еķ��� +
  +
debug(String) - +�ӿ� darks.log.kernel.KernelLogger �еķ��� +
  +
debug(String, Throwable) - +�ӿ� darks.log.kernel.KernelLogger �еķ��� +
  +
DEBUG - +�� darks.log.Level �еľ�̬���� +
  +
debug(String) - +�� darks.log.Logger �еķ��� +
Output log message by level DEBUG. +
debug(String, Throwable) - +�� darks.log.Logger �еķ��� +
Output log message and exception stack information by level DEBUG. +
decide(LogMessage) - +�� darks.log.filter.LevelRangeFilter �еķ��� +
Decide log message whether allow output. +
decide(LogMessage) - +�� darks.log.filter.LoggerFilter �еķ��� +
Decide log message whether allow output.
DefaultLogger - darks.log �е� ��
Default logger object used to log message and do appenders by default - DefaultLogger.java
DefaultLogger(Category, String) - -�� darks.log.DefaultLogger �Ĺ��췽�� -
  -
DefaultPattern - darks.log.pattern �е� ��
Indicate to format message by default pattern.
DefaultPattern() - -�� darks.log.pattern.DefaultPattern �Ĺ��췽�� -
  -
DefaultPattern(String) - -�� darks.log.pattern.DefaultPattern �Ĺ��췽�� -
  -
DENY - -�� darks.log.filter.LoggerFilter �еľ�̬���� -
  -
doAppend(LogMessage) - -�� darks.log.appender.Appender �еķ��� -
Handle log message + DefaultLogger.java
DefaultLogger(Category, String) - +�� darks.log.DefaultLogger �Ĺ��췽�� +
  +
DefaultPattern - darks.log.pattern �е� ��
Indicate to format message by default pattern.
DefaultPattern() - +�� darks.log.pattern.DefaultPattern �Ĺ��췽�� +
  +
DefaultPattern(String) - +�� darks.log.pattern.DefaultPattern �Ĺ��췽�� +
  +
DENY - +�� darks.log.filter.LoggerFilter �еľ�̬���� +
  +
doAppend(LogMessage) - +�� darks.log.appender.Appender �еķ��� +
Handle log message
DuringTimePatternConvertor - darks.log.pattern.parser �е� ��
Format cost time by pattern - DuringTimePatternConvertor.java
DuringTimePatternConvertor() - -�� darks.log.pattern.parser.DuringTimePatternConvertor �Ĺ��췽�� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + DuringTimePatternConvertor.java
DuringTimePatternConvertor() - +�� darks.log.pattern.parser.DuringTimePatternConvertor �Ĺ��췽�� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-5.html b/docs/index-files/index-5.html index c1cdd66..19def8c 100644 --- a/docs/index-files/index-5.html +++ b/docs/index-files/index-5.html @@ -1,181 +1,181 @@ - - - - - - -E - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-E

-
-
EnvUtils - darks.log.utils �е� ��
EnvUtils.java
equals(Object) - -�� darks.log.Level �еķ��� -
-
error(String) - -�� darks.log.kernel.AndroidKernelLogger �еķ��� -
  -
error(String, Throwable) - -�� darks.log.kernel.AndroidKernelLogger �еķ��� -
  -
error(String) - -�� darks.log.kernel.ConsoleKernelLogger �еķ��� -
  -
error(String, Throwable) - -�� darks.log.kernel.ConsoleKernelLogger �еķ��� -
  -
error(String) - -�ӿ� darks.log.kernel.KernelLogger �еķ��� -
  -
error(String, Throwable) - -�ӿ� darks.log.kernel.KernelLogger �еķ��� -
  -
ERROR - -�� darks.log.Level �еľ�̬���� -
  -
error(String) - -�� darks.log.Logger �еķ��� -
Output log message by level ERROR. -
error(String, Throwable) - -�� darks.log.Logger �еķ��� -
Output log message and exception stack information by level ERROR. + + + + + + +E - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+E

+
+
EnvUtils - darks.log.utils �е� ��
EnvUtils.java
equals(Object) - +�� darks.log.Level �еķ��� +
+
error(String) - +�� darks.log.kernel.AndroidKernelLogger �еķ��� +
  +
error(String, Throwable) - +�� darks.log.kernel.AndroidKernelLogger �еķ��� +
  +
error(String) - +�� darks.log.kernel.ConsoleKernelLogger �еķ��� +
  +
error(String, Throwable) - +�� darks.log.kernel.ConsoleKernelLogger �еķ��� +
  +
error(String) - +�ӿ� darks.log.kernel.KernelLogger �еķ��� +
  +
error(String, Throwable) - +�ӿ� darks.log.kernel.KernelLogger �еķ��� +
  +
ERROR - +�� darks.log.Level �еľ�̬���� +
  +
error(String) - +�� darks.log.Logger �еķ��� +
Output log message by level ERROR. +
error(String, Throwable) - +�� darks.log.Logger �еķ��� +
Output log message and exception stack information by level ERROR.
EventDetailPatternConvertor - darks.log.pattern.parser �е� ��
Format event detail information - EventDetailPatternConvertor.java
EventDetailPatternConvertor() - -�� darks.log.pattern.parser.EventDetailPatternConvertor �Ĺ��췽�� -
  -
expandOutStream(String, OutputStream) - -�� darks.log.appender.impl.FileAppender �еķ��� -
Expand output stream before set output stream. -
expandOutStream(String, OutputStream) - -�� darks.log.appender.impl.FileDateSizeAppender �еķ��� -
Expand output stream before set output stream. -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + EventDetailPatternConvertor.java
EventDetailPatternConvertor() - +�� darks.log.pattern.parser.EventDetailPatternConvertor �Ĺ��췽�� +
  +
expandOutStream(String, OutputStream) - +�� darks.log.appender.impl.FileAppender �еķ��� +
Expand output stream before set output stream. +
expandOutStream(String, OutputStream) - +�� darks.log.appender.impl.FileDateSizeAppender �еķ��� +
Expand output stream before set output stream. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-6.html b/docs/index-files/index-6.html index f69cdc6..0e5d11b 100644 --- a/docs/index-files/index-6.html +++ b/docs/index-files/index-6.html @@ -1,241 +1,241 @@ - - - - - - -F - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-F

-
-
FileAppender - darks.log.appender.impl �е� ��
Appender for file.
FileAppender() - -�� darks.log.appender.impl.FileAppender �Ĺ��췽�� -
  -
FileAppender(LoggerLayout) - -�� darks.log.appender.impl.FileAppender �Ĺ��췽�� -
  -
FileAppender(OutputStream) - -�� darks.log.appender.impl.FileAppender �Ĺ��췽�� -
  -
FileAppender(LoggerLayout, OutputStream) - -�� darks.log.appender.impl.FileAppender �Ĺ��췽�� -
  -
FileDateSizeAppender - darks.log.appender.impl �е� ��
Appender for file.
FileDateSizeAppender() - -�� darks.log.appender.impl.FileDateSizeAppender �Ĺ��췽�� -
  -
FileDateSizeAppender(LoggerLayout) - -�� darks.log.appender.impl.FileDateSizeAppender �Ĺ��췽�� -
  -
FileDateSizeAppender(OutputStream) - -�� darks.log.appender.impl.FileDateSizeAppender �Ĺ��췽�� -
  -
FileDateSizeAppender(LoggerLayout, OutputStream) - -�� darks.log.appender.impl.FileDateSizeAppender �Ĺ��췽�� -
  + + + + + + +F - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+F

+
+
FileAppender - darks.log.appender.impl �е� ��
Appender for file.
FileAppender() - +�� darks.log.appender.impl.FileAppender �Ĺ��췽�� +
  +
FileAppender(LoggerLayout) - +�� darks.log.appender.impl.FileAppender �Ĺ��췽�� +
  +
FileAppender(OutputStream) - +�� darks.log.appender.impl.FileAppender �Ĺ��췽�� +
  +
FileAppender(LoggerLayout, OutputStream) - +�� darks.log.appender.impl.FileAppender �Ĺ��췽�� +
  +
FileDateSizeAppender - darks.log.appender.impl �е� ��
Appender for file.
FileDateSizeAppender() - +�� darks.log.appender.impl.FileDateSizeAppender �Ĺ��췽�� +
  +
FileDateSizeAppender(LoggerLayout) - +�� darks.log.appender.impl.FileDateSizeAppender �Ĺ��췽�� +
  +
FileDateSizeAppender(OutputStream) - +�� darks.log.appender.impl.FileDateSizeAppender �Ĺ��췽�� +
  +
FileDateSizeAppender(LoggerLayout, OutputStream) - +�� darks.log.appender.impl.FileDateSizeAppender �Ĺ��췽�� +
 
FilenamePatternConvertor - darks.log.pattern.parser �е� ��
Format file name pattern - FilenamePatternConvertor.java
FilenamePatternConvertor() - -�� darks.log.pattern.parser.FilenamePatternConvertor �Ĺ��췽�� -
  -
FilePicker - darks.log.externs �е� ��
Indicate to pick file path by custom pattern or get file from special place.
FilePicker() - -�� darks.log.externs.FilePicker �Ĺ��췽�� -
  -
filter(LogMessage) - -�� darks.log.filter.LoggerFilter �еķ��� -
Filter message -
findClass(String, String[]) - -�� darks.log.loader.ClassFinder �еľ�̬���� -
Find class from target directories. -
findClass(String, String) - -�� darks.log.loader.ClassFinder �еľ�̬���� -
Find class from target directory. -
flush() - -�� darks.log.appender.io.RecordOutputStream �еķ��� -
-
format(LogMessage) - -�� darks.log.layout.LoggerLayout �еķ��� -
Format log message with convertor -
format(LogMessage) - -�� darks.log.layout.PatternLayout �еķ��� -
Format log message with convertor -
format(LogMessage) - -�� darks.log.layout.SimpleLayout �еķ��� -
Format log message with convertor -
format(LogMessage) - -�ӿ� darks.log.pattern.ConvertPattern �еķ��� -
Format message by pattern -
format(LogMessage) - -�� darks.log.pattern.DefaultPattern �еķ��� -
Format message by pattern -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.DatePatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.DuringTimePatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.EventDetailPatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.FilenamePatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.LogLevelPatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.MessagePatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.PatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.SourcePatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.StringPatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.TagPatternConvertor �еķ��� -
Format message content -
format(StringBuilder, LogMessage) - -�� darks.log.pattern.parser.ThreadPatternConvertor �еķ��� -
Format message content -
format(Date) - -�� darks.log.utils.time.AndroidDateFormater �еķ��� -
Format date -
format(Date) - -�� darks.log.utils.time.DateFormater �еķ��� -
Format date -
format(Date) - -�� darks.log.utils.time.JavaDateFormater �еķ��� -
Format date -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + FilenamePatternConvertor.java
FilenamePatternConvertor() - +�� darks.log.pattern.parser.FilenamePatternConvertor �Ĺ��췽�� +
  +
FilePicker - darks.log.externs �е� ��
Indicate to pick file path by custom pattern or get file from special place.
FilePicker() - +�� darks.log.externs.FilePicker �Ĺ��췽�� +
  +
filter(LogMessage) - +�� darks.log.filter.LoggerFilter �еķ��� +
Filter message +
findClass(String, String[]) - +�� darks.log.loader.ClassFinder �еľ�̬���� +
Find class from target directories. +
findClass(String, String) - +�� darks.log.loader.ClassFinder �еľ�̬���� +
Find class from target directory. +
flush() - +�� darks.log.appender.io.RecordOutputStream �еķ��� +
+
format(LogMessage) - +�� darks.log.layout.LoggerLayout �еķ��� +
Format log message with convertor +
format(LogMessage) - +�� darks.log.layout.PatternLayout �еķ��� +
Format log message with convertor +
format(LogMessage) - +�� darks.log.layout.SimpleLayout �еķ��� +
Format log message with convertor +
format(LogMessage) - +�ӿ� darks.log.pattern.ConvertPattern �еķ��� +
Format message by pattern +
format(LogMessage) - +�� darks.log.pattern.DefaultPattern �еķ��� +
Format message by pattern +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.DatePatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.DuringTimePatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.EventDetailPatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.FilenamePatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.LogLevelPatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.MessagePatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.PatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.SourcePatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.StringPatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.TagPatternConvertor �еķ��� +
Format message content +
format(StringBuilder, LogMessage) - +�� darks.log.pattern.parser.ThreadPatternConvertor �еķ��� +
Format message content +
format(Date) - +�� darks.log.utils.time.AndroidDateFormater �еķ��� +
Format date +
format(Date) - +�� darks.log.utils.time.DateFormater �еķ��� +
Format date +
format(Date) - +�� darks.log.utils.time.JavaDateFormater �еķ��� +
Format date +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-7.html b/docs/index-files/index-7.html index fa3119e..9f8e952 100644 --- a/docs/index-files/index-7.html +++ b/docs/index-files/index-7.html @@ -1,362 +1,371 @@ - - - - - - -G - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-G

-
-
getAbsoluteSdcardPath() - -�� darks.log.utils.StorageUtils �еľ�̬���� -
  -
getAppender(String) - -�� darks.log.appender.AppenderManager �еľ�̬���� -
Get appender object by appender name -
getAppenderList() - -�� darks.log.Category �еķ��� -
  -
getAppenders() - -�� darks.log.Category �еķ��� -
  -
getAppenders() - -�� darks.log.LoggerHolder �еķ��� -
  -
getApplication() - -�� darks.log.AndroidConfig �еķ��� -
  -
getBufferSize() - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
getCallerClass() - -�� darks.log.ThrowableInfo �еķ��� -
  -
getCallerMethod() - -�� darks.log.ThrowableInfo �еķ��� -
  -
getCategories() - -�� darks.log.LoggerConfig �еķ��� -
  -
getCategory(String) - -�� darks.log.LoggerConfig �еķ��� -
  -
getCategory() - -�� darks.log.LogMessage �еķ��� -
  -
getClassName() - -�� darks.log.LogMessage �еķ��� -
  -
getCode() - -�� darks.log.Level �еķ��� -
  -
getConfig() - -�� darks.log.Logger �еľ�̬���� -
  -
getConnectTimeout() - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
getConstructor(Class<?>) - -�� darks.log.utils.ReflectUtils �еľ�̬���� -
  -
getConvertor() - -�� darks.log.layout.LoggerLayout �еķ��� -
  -
getCount() - -�� darks.log.appender.io.RecordOutputStream �еķ��� -
  -
getDate() - -�� darks.log.LogMessage �еķ��� -
  -
getDeepMethod(Class<?>, String, Class<?>[]) - -�� darks.log.utils.ReflectUtils �еľ�̬���� -
  -
getEncoding() - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
getFileName() - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
getFilePicker() - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
getFilter() - -�� darks.log.appender.Appender �еķ��� -
  -
getFormatter(String) - -�� darks.log.utils.TimeUtils �еľ�̬���� -
  -
getGetMethod(Class<?>, String) - -�� darks.log.utils.ReflectUtils �еľ�̬���� -
  -
getGetMethodObject(Object, String) - -�� darks.log.utils.ReflectUtils �еľ�̬���� -
  -
getHolders() - -�� darks.log.LoggerThread �еľ�̬���� -
  -
getInherit(String) - -�� darks.log.LoggerConfig �еķ��� -
Get inherit value by checking the closest tag name. -
getKeepDay() - -�� darks.log.appender.impl.FileDateSizeAppender �еķ��� -
  -
getLayout() - -�� darks.log.appender.Appender �еķ��� -
  -
getLevel() - -�� darks.log.Category �еķ��� -
  -
getLevel(String) - -�� darks.log.Level �еľ�̬���� -
Get level object by level name as key word -
getLevel() - -�� darks.log.Level �еķ��� -
  -
getLevel() - -�� darks.log.LogMessage �еķ��� -
  -
getLevelMax() - -�� darks.log.filter.LevelRangeFilter �еķ��� -
  -
getLevelMin() - -�� darks.log.filter.LevelRangeFilter �еķ��� -
  -
getLogger(Class<?>) - -�� darks.log.Logger �еľ�̬���� -
Get the logger by tag class. -
getLogger(String) - -�� darks.log.Logger �еľ�̬���� -
Get the logger by tag string. -
getLogger(String) - -�� darks.log.LoggerFactory �еľ�̬���� -
Create logger object. -
getMaxSize() - -�� darks.log.appender.impl.FileDateSizeAppender �еķ��� -
  -
getMessage() - -�� darks.log.LogMessage �еķ��� -
  -
getMsg() - -�� darks.log.LoggerHolder �еķ��� -
  -
getMsgType() - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
getName() - -�� darks.log.appender.Appender �еķ��� -
  -
getName() - -�� darks.log.Category �еķ��� -
  -
getName() - -�� darks.log.Level �еķ��� -
  -
getNamespace() - -�� darks.log.LogMessage �еķ��� -
  -
getNext() - -�� darks.log.pattern.parser.PatternConvertor �еķ��� -
  -
getObjectBytes(Object) - -�� darks.log.utils.IoUtils �еľ�̬���� -
  -
getOutputStream(String, boolean) - -�� darks.log.externs.FilePicker �еķ��� -
Get output stream -
getOutStream() - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
getParent() - -�� darks.log.Category �еķ��� -
  -
getPattern() - -�� darks.log.layout.LoggerLayout �еķ��� -
  -
getPattern() - -�� darks.log.pattern.DefaultPattern �еķ��� -
  -
getPattern() - -�� darks.log.pattern.parser.PatternParser �еķ��� -
  -
getRoot() - -�� darks.log.LoggerConfig �еķ��� -
  -
getSdcardPath() - -�� darks.log.utils.StorageUtils �еľ�̬���� -
  -
getSdcardPathFile() - -�� darks.log.utils.StorageUtils �еľ�̬���� -
  -
getSendBufferSize() - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
getServerHost() - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
getServerPort() - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
getSetMethod(Class<?>, String) - -�� darks.log.utils.ReflectUtils �еľ�̬���� -
  -
getSetMethod(Class<?>, String, Class<?>[]) - -�� darks.log.utils.ReflectUtils �еľ�̬���� -
  -
getSource() - -�� darks.log.ThrowableInfo �еķ��� -
  -
getSourceFile() - -�� darks.log.ThrowableInfo �еķ��� -
  -
getStartupTime() - -�� darks.log.LogMessage �еľ�̬���� -
  -
getThreadName() - -�� darks.log.LogMessage �еķ��� -
  -
getThrowable() - -�� darks.log.ThrowableInfo �еķ��� -
  -
getThrowableInfo() - -�� darks.log.LogMessage �еķ��� -
  -
getThrowMessage(String, Throwable) - -�� darks.log.appender.Appender �еķ��� -
Buffer log message string with exception stack trace message target. -
getTimeStamp() - -�� darks.log.LogMessage �еķ��� -
  -
getToken() - -�� darks.log.pattern.parser.PatternConvertor �еķ��� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +G - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+G

+
+
getAbsoluteSdcardPath() - +�� darks.log.utils.StorageUtils �еľ�̬���� +
  +
getAppender(String) - +�� darks.log.appender.AppenderManager �еľ�̬���� +
Get appender object by appender name +
getAppenderList() - +�� darks.log.Category �еķ��� +
  +
getAppenders() - +�� darks.log.Category �еķ��� +
  +
getAppenders() - +�� darks.log.LoggerHolder �еķ��� +
  +
getApplication() - +�� darks.log.AndroidConfig �еķ��� +
  +
getBufferSize() - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
getCallerClass() - +�� darks.log.ThrowableInfo �еķ��� +
  +
getCallerMethod() - +�� darks.log.ThrowableInfo �еķ��� +
  +
getCategories() - +�� darks.log.LoggerConfig �еķ��� +
  +
getCategory(String) - +�� darks.log.LoggerConfig �еķ��� +
  +
getCategory() - +�� darks.log.LogMessage �еķ��� +
  +
getClassName() - +�� darks.log.LogMessage �еķ��� +
  +
getCode() - +�� darks.log.Level �еķ��� +
  +
getConfig() - +�� darks.log.Logger �еľ�̬���� +
  +
getConnectTimeout() - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
getConstructor(Class<?>) - +�� darks.log.utils.ReflectUtils �еľ�̬���� +
  +
getConvertor() - +�� darks.log.layout.LoggerLayout �еķ��� +
  +
getCount() - +�� darks.log.appender.io.RecordOutputStream �еķ��� +
  +
getDate() - +�� darks.log.LogMessage �еķ��� +
  +
getDeepMethod(Class<?>, String, Class<?>[]) - +�� darks.log.utils.ReflectUtils �еľ�̬���� +
  +
getDefaultLoader() - +�� darks.log.loader.ConfigLoader �еķ��� +
Load config file from Java/src root +
getEncoding() - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
getFileName() - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
getFilePicker() - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
getFilter() - +�� darks.log.appender.Appender �еķ��� +
  +
getFormatter(String) - +�� darks.log.utils.TimeUtils �еľ�̬���� +
  +
getGetMethod(Class<?>, String) - +�� darks.log.utils.ReflectUtils �еľ�̬���� +
  +
getGetMethodObject(Object, String) - +�� darks.log.utils.ReflectUtils �еľ�̬���� +
  +
getHolders() - +�� darks.log.LoggerThread �еľ�̬���� +
  +
getInherit(String) - +�� darks.log.LoggerConfig �еķ��� +
Get inherit value by checking the closest tag name. +
getInputStream() - +�� darks.log.loader.Loader �еķ��� +
  +
getKeepDay() - +�� darks.log.appender.impl.FileDateSizeAppender �еķ��� +
  +
getLayout() - +�� darks.log.appender.Appender �еķ��� +
  +
getLevel() - +�� darks.log.Category �еķ��� +
  +
getLevel(String) - +�� darks.log.Level �еľ�̬���� +
Get level object by level name as key word +
getLevel() - +�� darks.log.Level �еķ��� +
  +
getLevel() - +�� darks.log.LogMessage �еķ��� +
  +
getLevelMax() - +�� darks.log.filter.LevelRangeFilter �еķ��� +
  +
getLevelMin() - +�� darks.log.filter.LevelRangeFilter �еķ��� +
  +
getLoader() - +�� darks.log.AndroidConfig �еķ��� +
Get loader or android environment +
getLogger(Class<?>) - +�� darks.log.Logger �еľ�̬���� +
Get the logger by tag class. +
getLogger(String) - +�� darks.log.Logger �еľ�̬���� +
Get the logger by tag string. +
getLogger(String) - +�� darks.log.LoggerFactory �еľ�̬���� +
Create logger object. +
getMaxSize() - +�� darks.log.appender.impl.FileDateSizeAppender �еķ��� +
  +
getMessage() - +�� darks.log.LogMessage �еķ��� +
  +
getMsg() - +�� darks.log.LoggerHolder �еķ��� +
  +
getMsgType() - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
getName() - +�� darks.log.appender.Appender �еķ��� +
  +
getName() - +�� darks.log.Category �еķ��� +
  +
getName() - +�� darks.log.Level �еķ��� +
  +
getNamespace() - +�� darks.log.LogMessage �еķ��� +
  +
getNext() - +�� darks.log.pattern.parser.PatternConvertor �еķ��� +
  +
getObjectBytes(Object) - +�� darks.log.utils.IoUtils �еľ�̬���� +
  +
getOutputStream(String, boolean) - +�� darks.log.externs.FilePicker �еķ��� +
Get output stream +
getOutStream() - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
getParent() - +�� darks.log.Category �еķ��� +
  +
getPattern() - +�� darks.log.layout.LoggerLayout �еķ��� +
  +
getPattern() - +�� darks.log.pattern.DefaultPattern �еķ��� +
  +
getPattern() - +�� darks.log.pattern.parser.PatternParser �еķ��� +
  +
getRoot() - +�� darks.log.LoggerConfig �еķ��� +
  +
getSdcardPath() - +�� darks.log.utils.StorageUtils �еľ�̬���� +
  +
getSdcardPathFile() - +�� darks.log.utils.StorageUtils �еľ�̬���� +
  +
getSendBufferSize() - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
getServerHost() - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
getServerPort() - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
getSetMethod(Class<?>, String) - +�� darks.log.utils.ReflectUtils �еľ�̬���� +
  +
getSetMethod(Class<?>, String, Class<?>[]) - +�� darks.log.utils.ReflectUtils �еľ�̬���� +
  +
getSource() - +�� darks.log.ThrowableInfo �еķ��� +
  +
getSourceFile() - +�� darks.log.ThrowableInfo �еķ��� +
  +
getStartupTime() - +�� darks.log.LogMessage �еľ�̬���� +
  +
getThreadName() - +�� darks.log.LogMessage �еķ��� +
  +
getThrowable() - +�� darks.log.ThrowableInfo �еķ��� +
  +
getThrowableInfo() - +�� darks.log.LogMessage �еķ��� +
  +
getThrowMessage(String, Throwable) - +�� darks.log.appender.Appender �еķ��� +
Buffer log message string with exception stack trace message target. +
getTimeStamp() - +�� darks.log.LogMessage �еķ��� +
  +
getToken() - +�� darks.log.pattern.parser.PatternConvertor �еķ��� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-8.html b/docs/index-files/index-8.html index 9ec9af2..6396c76 100644 --- a/docs/index-files/index-8.html +++ b/docs/index-files/index-8.html @@ -1,143 +1,143 @@ - - - - - - -H - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-H

-
-
hashCode() - -�� darks.log.Level �еķ��� -
-
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +H - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+H

+
+
hashCode() - +�� darks.log.Level �еķ��� +
+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index-files/index-9.html b/docs/index-files/index-9.html index d2f35f7..bdc27d5 100644 --- a/docs/index-files/index-9.html +++ b/docs/index-files/index-9.html @@ -1,212 +1,212 @@ - - - - - - -I - ���� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
-

-I

-
-
info(String) - -�� darks.log.kernel.AndroidKernelLogger �еķ��� -
  -
info(String, Throwable) - -�� darks.log.kernel.AndroidKernelLogger �еķ��� -
  -
info(String) - -�� darks.log.kernel.ConsoleKernelLogger �еķ��� -
  -
info(String, Throwable) - -�� darks.log.kernel.ConsoleKernelLogger �еķ��� -
  -
info(String) - -�ӿ� darks.log.kernel.KernelLogger �еķ��� -
  -
info(String, Throwable) - -�ӿ� darks.log.kernel.KernelLogger �еķ��� -
  -
INFO - -�� darks.log.Level �еľ�̬���� -
  -
info(String) - -�� darks.log.Logger �еķ��� -
Output log message by level INFO. -
info(String, Throwable) - -�� darks.log.Logger �еķ��� -
Output log message and exception stack information by level INFO. -
initConfig() - -�� darks.log.loader.ConfigLoader �еķ��� -
Initialize configuration -
InvalidLogger - darks.log �е� ��
Indicate log is invalid.
InvalidLogger() - -�� darks.log.InvalidLogger �Ĺ��췽�� -
  -
IoUtils - darks.log.utils �е� ��
IoUtils.java
isAccept() - -�� darks.log.filter.LoggerFilter �еķ��� -
  -
isAndroidEnv() - -�� darks.log.utils.EnvUtils �еľ�̬���� -
Check whether system is andorid -
isAsync() - -�� darks.log.appender.Appender �еķ��� -
  -
isBuffered() - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
isEmpty() - -�� darks.log.LoggerHolder �еķ��� -
  -
isFileAppend() - -�� darks.log.appender.impl.FileAppender �еķ��� -
  -
isImmediateFlush() - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
isInherit() - -�� darks.log.Category �еķ��� -
  -
isKeepAlive() - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
isLittleEndian() - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
isRootInherit() - -�� darks.log.LoggerConfig �еķ��� -
  -
isTcpNoDelay() - -�� darks.log.appender.impl.SocketAppender �еķ��� -
  -
isWrapBytes() - -�� darks.log.appender.impl.StreamAppender �еķ��� -
  -
-
- - - - - - - - - - - - - - - -
- -
- - - -A B C D E F G H I J K L M N P R S T V W
- - - + + + + + + +I - ���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+

+I

+
+
info(String) - +�� darks.log.kernel.AndroidKernelLogger �еķ��� +
  +
info(String, Throwable) - +�� darks.log.kernel.AndroidKernelLogger �еķ��� +
  +
info(String) - +�� darks.log.kernel.ConsoleKernelLogger �еķ��� +
  +
info(String, Throwable) - +�� darks.log.kernel.ConsoleKernelLogger �еķ��� +
  +
info(String) - +�ӿ� darks.log.kernel.KernelLogger �еķ��� +
  +
info(String, Throwable) - +�ӿ� darks.log.kernel.KernelLogger �еķ��� +
  +
INFO - +�� darks.log.Level �еľ�̬���� +
  +
info(String) - +�� darks.log.Logger �еķ��� +
Output log message by level INFO. +
info(String, Throwable) - +�� darks.log.Logger �еķ��� +
Output log message and exception stack information by level INFO. +
initConfig() - +�� darks.log.loader.ConfigLoader �еķ��� +
Initialize configuration +
InvalidLogger - darks.log �е� ��
Indicate log is invalid.
InvalidLogger() - +�� darks.log.InvalidLogger �Ĺ��췽�� +
  +
IoUtils - darks.log.utils �е� ��
IoUtils.java
isAccept() - +�� darks.log.filter.LoggerFilter �еķ��� +
  +
isAndroidEnv() - +�� darks.log.utils.EnvUtils �еľ�̬���� +
Check whether system is andorid +
isAsync() - +�� darks.log.appender.Appender �еķ��� +
  +
isBuffered() - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
isEmpty() - +�� darks.log.LoggerHolder �еķ��� +
  +
isFileAppend() - +�� darks.log.appender.impl.FileAppender �еķ��� +
  +
isImmediateFlush() - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
isInherit() - +�� darks.log.Category �еķ��� +
  +
isKeepAlive() - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
isLittleEndian() - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
isRootInherit() - +�� darks.log.LoggerConfig �еķ��� +
  +
isTcpNoDelay() - +�� darks.log.appender.impl.SocketAppender �еķ��� +
  +
isWrapBytes() - +�� darks.log.appender.impl.StreamAppender �еķ��� +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I J K L M N P R S T V W
+ + + diff --git a/docs/index.html b/docs/index.html index e706115..9fd2084 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,39 +1,39 @@ - - - - - - -���ɵ��ĵ����ޱ��⣩ - - - - - - - - - - - -<H2> -��ܾ���</H2> - -<P> -��ʹ�ÿ�ܹ��ܲ鿴���ĵ��������������Ϣ���������ʹ�õ��Dz�֧�ֿ�ܵ� Web �ͻ����� -<BR> -���ӵ�<A HREF="overview-summary.html">�ǿ�ܰ汾��</A> - - - + + + + + + +���ɵ��ĵ����ޱ��⣩ + + + + + + + + + + + +<H2> +��ܾ���</H2> + +<P> +��ʹ�ÿ�ܹ��ܲ鿴���ĵ��������������Ϣ���������ʹ�õ��Dz�֧�ֿ�ܵ� Web �ͻ����� +<BR> +���ӵ�<A HREF="overview-summary.html">�ǿ�ܰ汾��</A> + + + diff --git a/docs/overview-frame.html b/docs/overview-frame.html index 22ab523..da84955 100644 --- a/docs/overview-frame.html +++ b/docs/overview-frame.html @@ -1,68 +1,68 @@ - - - - - - -�����б� - - - - - - - - - - - - - - - -
-
- - - - - -
������ -

- -������ -
-darks.log -
-darks.log.appender -
-darks.log.appender.impl -
-darks.log.appender.io -
-darks.log.exceptions -
-darks.log.externs -
-darks.log.filter -
-darks.log.kernel -
-darks.log.layout -
-darks.log.loader -
-darks.log.pattern -
-darks.log.pattern.parser -
-darks.log.utils -
-darks.log.utils.time -
-

- -

-  - - + + + + + + +�����б� + + + + + + + + + + + + + + + +
+
+ + + + + +
������ +

+ +������ +
+darks.log +
+darks.log.appender +
+darks.log.appender.impl +
+darks.log.appender.io +
+darks.log.exceptions +
+darks.log.externs +
+darks.log.filter +
+darks.log.kernel +
+darks.log.layout +
+darks.log.loader +
+darks.log.pattern +
+darks.log.pattern.parser +
+darks.log.utils +
+darks.log.utils.time +
+

+ +

+  + + diff --git a/docs/overview-summary.html b/docs/overview-summary.html index 5089722..9dbeb2d 100644 --- a/docs/overview-summary.html +++ b/docs/overview-summary.html @@ -1,206 +1,206 @@ - - - - - - -���� - - - - - - - - - - - - -


- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-Darks Log Document -

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-������
darks.log 
darks.log.appender 
darks.log.appender.impl 
darks.log.appender.io 
darks.log.exceptions 
darks.log.externs 
darks.log.filter 
darks.log.kernel 
darks.log.layout 
darks.log.loader 
darks.log.pattern 
darks.log.pattern.parser 
darks.log.utils 
darks.log.utils.time 
- -


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +���� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Darks Log Document +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+������
darks.log 
darks.log.appender 
darks.log.appender.impl 
darks.log.appender.io 
darks.log.exceptions 
darks.log.externs 
darks.log.filter 
darks.log.kernel 
darks.log.layout 
darks.log.loader 
darks.log.pattern 
darks.log.pattern.parser 
darks.log.utils 
darks.log.utils.time 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/overview-tree.html b/docs/overview-tree.html index bd0f574..8c0b60e 100644 --- a/docs/overview-tree.html +++ b/docs/overview-tree.html @@ -1,194 +1,194 @@ - - - - - - -��ֲ�ṹ - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�����������ķֲ�ṹ

-
-
-
�������ֲ�ṹ��
darks.log, darks.log.appender, darks.log.appender.impl, darks.log.appender.io, darks.log.exceptions, darks.log.externs, darks.log.filter, darks.log.kernel, darks.log.layout, darks.log.loader, darks.log.pattern, darks.log.pattern.parser, darks.log.utils, darks.log.utils.time
-
-

-��ֲ�ṹ -

- -

-�ӿڷֲ�ṹ -

- -
- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +��ֲ�ṹ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�����������ķֲ�ṹ

+
+
+
�������ֲ�ṹ��
darks.log, darks.log.appender, darks.log.appender.impl, darks.log.appender.io, darks.log.exceptions, darks.log.externs, darks.log.filter, darks.log.kernel, darks.log.layout, darks.log.loader, darks.log.pattern, darks.log.pattern.parser, darks.log.utils, darks.log.utils.time
+
+

+��ֲ�ṹ +

+ +

+�ӿڷֲ�ṹ +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/package-list b/docs/package-list index 5fffac0..44ff29f 100644 --- a/docs/package-list +++ b/docs/package-list @@ -1,14 +1,14 @@ -darks.log -darks.log.appender -darks.log.appender.impl -darks.log.appender.io -darks.log.exceptions -darks.log.externs -darks.log.filter -darks.log.kernel -darks.log.layout -darks.log.loader -darks.log.pattern -darks.log.pattern.parser -darks.log.utils -darks.log.utils.time +darks.log +darks.log.appender +darks.log.appender.impl +darks.log.appender.io +darks.log.exceptions +darks.log.externs +darks.log.filter +darks.log.kernel +darks.log.layout +darks.log.loader +darks.log.pattern +darks.log.pattern.parser +darks.log.utils +darks.log.utils.time diff --git a/docs/serialized-form.html b/docs/serialized-form.html index 744c5a5..f76b400 100644 --- a/docs/serialized-form.html +++ b/docs/serialized-form.html @@ -1,436 +1,436 @@ - - - - - - -������� - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
- -
- - - -
-
-

-�������

-
-
- - - - - -
-������ darks.log
- -

- - - - - -
-�� darks.log.Level �̳� java.lang.Object ʵ�� Serializable
- -

-serialVersionUID: 6561230519046683707L - -

- - - - - -
-���л��ֶ�
- -

-name

-
-java.lang.String name
-
-
Level name -

-

-
-
-
-

-level

-
-int level
-
-
Level decided to output sequence -

-

-
-
-
-

-code

-
-int code
-
-
Level code -

-

-
-
- -

- - - - - -
-�� darks.log.LogMessage �̳� java.lang.Object ʵ�� Serializable
- -

-serialVersionUID: 8759561564189181268L - -

- - - - - -
-���л��ֶ�
- -

-date

-
-java.util.Date date
-
-
Log message date -

-

-
-
-
-

-namespace

-
-java.lang.String namespace
-
-
Log namespace or tag string -

-

-
-
-
-

-className

-
-java.lang.String className
-
-
-
-
-
-

-threadName

-
-java.lang.String threadName
-
-
-
-
-
-

-throwableInfo

-
-ThrowableInfo throwableInfo
-
-
-
-
-
-

-timeStamp

-
-long timeStamp
-
-
-
-
-
-

-message

-
-java.lang.String message
-
-
-
-
-
-

-level

-
-Level level
-
-
-
-
-
-

-category

-
-Category category
-
-
-
-
- -

- - - - - -
-�� darks.log.ThrowableInfo �̳� java.lang.Object ʵ�� Serializable
- -

-serialVersionUID: -273979220631210906L - -

- - - - - -
-���л��ֶ�
- -

-throwable

-
-java.lang.Throwable throwable
-
-
Exception object -

-

-
-
-
-

-source

-
-int source
-
-
Source line when logging -

-

-
-
-
-

-callerMethod

-
-java.lang.String callerMethod
-
-
Method which be logging in -

-

-
-
-
-

-callerClass

-
-java.lang.String callerClass
-
-
Class which be logging in -

-

-
-
-
-

-sourceFile

-
-java.lang.String sourceFile
-
-
Source file when logging -

-

-
-
-
- - - - - -
-������ darks.log.exceptions
- -

- - - - - -
-�� darks.log.exceptions.ConfigException �̳� LogException ʵ�� Serializable
- -

-serialVersionUID: 3212318854403981539L - -

- -

- - - - - -
-�� darks.log.exceptions.LogException �̳� java.lang.RuntimeException ʵ�� Serializable
- -

-serialVersionUID: 8043592235070151008L - -

- -

- - - - - -
-�� darks.log.exceptions.PatternException �̳� LogException ʵ�� Serializable
- -

-serialVersionUID: 3212318854403981539L - -

- -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +������� + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+�������

+
+
+ + + + + +
+������ darks.log
+ +

+ + + + + +
+�� darks.log.Level �̳� java.lang.Object ʵ�� Serializable
+ +

+serialVersionUID: 6561230519046683707L + +

+ + + + + +
+���л��ֶ�
+ +

+name

+
+java.lang.String name
+
+
Level name +

+

+
+
+
+

+level

+
+int level
+
+
Level decided to output sequence +

+

+
+
+
+

+code

+
+int code
+
+
Level code +

+

+
+
+ +

+ + + + + +
+�� darks.log.LogMessage �̳� java.lang.Object ʵ�� Serializable
+ +

+serialVersionUID: 8759561564189181268L + +

+ + + + + +
+���л��ֶ�
+ +

+date

+
+java.util.Date date
+
+
Log message date +

+

+
+
+
+

+namespace

+
+java.lang.String namespace
+
+
Log namespace or tag string +

+

+
+
+
+

+className

+
+java.lang.String className
+
+
+
+
+
+

+threadName

+
+java.lang.String threadName
+
+
+
+
+
+

+throwableInfo

+
+ThrowableInfo throwableInfo
+
+
+
+
+
+

+timeStamp

+
+long timeStamp
+
+
+
+
+
+

+message

+
+java.lang.String message
+
+
+
+
+
+

+level

+
+Level level
+
+
+
+
+
+

+category

+
+Category category
+
+
+
+
+ +

+ + + + + +
+�� darks.log.ThrowableInfo �̳� java.lang.Object ʵ�� Serializable
+ +

+serialVersionUID: -273979220631210906L + +

+ + + + + +
+���л��ֶ�
+ +

+throwable

+
+java.lang.Throwable throwable
+
+
Exception object +

+

+
+
+
+

+source

+
+int source
+
+
Source line when logging +

+

+
+
+
+

+callerMethod

+
+java.lang.String callerMethod
+
+
Method which be logging in +

+

+
+
+
+

+callerClass

+
+java.lang.String callerClass
+
+
Class which be logging in +

+

+
+
+
+

+sourceFile

+
+java.lang.String sourceFile
+
+
Source file when logging +

+

+
+
+
+ + + + + +
+������ darks.log.exceptions
+ +

+ + + + + +
+�� darks.log.exceptions.ConfigException �̳� LogException ʵ�� Serializable
+ +

+serialVersionUID: 3212318854403981539L + +

+ +

+ + + + + +
+�� darks.log.exceptions.LogException �̳� java.lang.RuntimeException ʵ�� Serializable
+ +

+serialVersionUID: 8043592235070151008L + +

+ +

+ + + + + +
+�� darks.log.exceptions.PatternException �̳� LogException ʵ�� Serializable
+ +

+serialVersionUID: 3212318854403981539L + +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + diff --git a/docs/stylesheet.css b/docs/stylesheet.css index 95bda1f..4aa7da3 100644 --- a/docs/stylesheet.css +++ b/docs/stylesheet.css @@ -1,29 +1,29 @@ -/* Javadoc ��ʽ�� */ - -/* �ڴ˴�������ɫ�������������ʽ�����Ը���Ĭ��ֵ */ - -/* ҳ�汳����ɫ */ -body { background-color: #FFFFFF; color:#000000 } - -/* ���� */ -h1 { font-size: 145% } - -/* ������ɫ */ -.TableHeadingColor { background: #CCCCFF; color:#000000 } /* ����ɫ */ -.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* ����ɫ */ -.TableRowColor { background: #FFFFFF; color:#000000 } /* ��ɫ */ - -/* ���Ŀ���б���ʹ�õ����� */ -.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } -.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } - -/* �������������ɫ */ -.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* ����ɫ */ -.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* ����ɫ */ -.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} -.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} - -.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} -.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} - +/* Javadoc ��ʽ�� */ + +/* �ڴ˴�������ɫ�������������ʽ�����Ը���Ĭ��ֵ */ + +/* ҳ�汳����ɫ */ +body { background-color: #FFFFFF; color:#000000 } + +/* ���� */ +h1 { font-size: 145% } + +/* ������ɫ */ +.TableHeadingColor { background: #CCCCFF; color:#000000 } /* ����ɫ */ +.TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* ����ɫ */ +.TableRowColor { background: #FFFFFF; color:#000000 } /* ��ɫ */ + +/* ���Ŀ���б���ʹ�õ����� */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif; color:#000000 } + +/* �������������ɫ */ +.NavBarCell1 { background-color:#EEEEFF; color:#000000} /* ����ɫ */ +.NavBarCell1Rev { background-color:#00008B; color:#FFFFFF} /* ����ɫ */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF; color:#000000} + diff --git a/src/darks/log/Category.java b/src/darks/log/Category.java index cfaf782..dd33ab2 100644 --- a/src/darks/log/Category.java +++ b/src/darks/log/Category.java @@ -1,170 +1,170 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log; - -import java.util.Arrays; -import java.util.LinkedList; -import java.util.List; - -import darks.log.appender.Appender; -import darks.log.appender.AppenderManager; -import darks.log.kernel.Kernel; - -/** - * Record logger's category information.Include appenders, level, name and so on. - * Category object wiil inherit root category attributes. - * - * Category.java - * @version 1.0.0 - * @author Liu lihua - * 2014-3-21 - */ -public class Category -{ - /** - * Category name - */ - private String name; - - /** - * Parent category - */ - private Category parent; - - private Level level = Level.VERBOSE; - - /** - * Appenders tags - */ - private String[] appenders; - - private List appenderList = new LinkedList(); - - private boolean inherit = true; - - public Category() - { - } - - public Category(Category parent) - { - this.parent = parent; - } - - /** - * Build appenders list from appender tags array - * @return appenders list - */ - public synchronized List buildAppenderArray() - { - if (appenderList != null && !appenderList.isEmpty()) - { - return appenderList; - } - appenderList.clear(); -// if (inherit && parent != null) -// { -// appenderList.addAll(parent.buildAppenderArray()); -// } - if (appenders != null) - { - for (String app : appenders) - { - Appender appender = AppenderManager.getAppender(app); - if (appender == null) - { - Kernel.logWarn("Cannot find appender " + app); - } - else - { - appenderList.add(appender); - } - } - } - return appenderList; - } - - public String getName() - { - return name; - } - - public void setName(String name) - { - this.name = name; - } - - public Category getParent() - { - return parent; - } - - public void setParent(Category parent) - { - this.parent = parent; - } - - public Level getLevel() - { - return level; - } - - public void setLevel(Level level) - { - this.level = level; - } - - public String[] getAppenders() - { - return appenders; - } - - public void setAppenders(String[] appenders) - { - this.appenders = appenders; - } - - public boolean isInherit() - { - return inherit; - } - - public void setInherit(boolean inherit) - { - this.inherit = inherit; - } - - - public List getAppenderList() - { - return appenderList; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() - { - return "Category [name=" + name + ", parent=" + parent + ", level=" - + level + ", appenders=" + Arrays.toString(appenders) - + ", inherit=" + inherit + "]"; - } - - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log; + +import java.util.Arrays; +import java.util.LinkedList; +import java.util.List; + +import darks.log.appender.Appender; +import darks.log.appender.AppenderManager; +import darks.log.kernel.Kernel; + +/** + * Record logger's category information.Include appenders, level, name and so on. + * Category object will inherit root category attributes. + * + * Category.java + * @version 1.0.0 + * @author Liu lihua + * 2014-3-21 + */ +public class Category +{ + /** + * Category name + */ + private String name; + + /** + * Parent category + */ + private Category parent; + + private Level level = Level.VERBOSE; + + /** + * Appenders tags + */ + private String[] appenders; + + private List appenderList = new LinkedList(); + + private boolean inherit = true; + + public Category() + { + } + + public Category(Category parent) + { + this.parent = parent; + } + + /** + * Build appenders list from appender tags array + * @return appenders list + */ + public synchronized List buildAppenderArray() + { + if (appenderList != null && !appenderList.isEmpty()) + { + return appenderList; + } + appenderList.clear(); +// if (inherit && parent != null) +// { +// appenderList.addAll(parent.buildAppenderArray()); +// } + if (appenders != null) + { + for (String app : appenders) + { + Appender appender = AppenderManager.getAppender(app); + if (appender == null) + { + Kernel.logWarn("Cannot find appender " + app); + } + else + { + appenderList.add(appender); + } + } + } + return appenderList; + } + + public String getName() + { + return name; + } + + public void setName(String name) + { + this.name = name; + } + + public Category getParent() + { + return parent; + } + + public void setParent(Category parent) + { + this.parent = parent; + } + + public Level getLevel() + { + return level; + } + + public void setLevel(Level level) + { + this.level = level; + } + + public String[] getAppenders() + { + return appenders; + } + + public void setAppenders(String[] appenders) + { + this.appenders = appenders; + } + + public boolean isInherit() + { + return inherit; + } + + public void setInherit(boolean inherit) + { + this.inherit = inherit; + } + + + public List getAppenderList() + { + return appenderList; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() + { + return "Category [name=" + name + ", parent=" + parent + ", level=" + + level + ", appenders=" + Arrays.toString(appenders) + + ", inherit=" + inherit + "]"; + } + + +} diff --git a/src/darks/log/Level.java b/src/darks/log/Level.java index 1d4c270..0a764bc 100644 --- a/src/darks/log/Level.java +++ b/src/darks/log/Level.java @@ -1,244 +1,244 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.Map; - -/** - * Indicate the log message's level. - * - * The low level wiil ouput upper level message. For example: - * - *
- * TRACE > ERROR > WARN > INFO > DEBUG > VERBOSE
- * 
- * - * Level.java - * - * @version 1.0.0 - * @author Liu lihua 2014-3-21 - */ -public class Level implements Serializable -{ - - private static final long serialVersionUID = 6561230519046683707L; - - public static final String LEVEL_INFO = "INFO"; - - public static final String LEVEL_DEBUG = "DEBUG"; - - public static final String LEVEL_WARN = "WARN"; - - public static final String LEVEL_ERROR = "ERROR"; - - public static final String LEVEL_TRACE = "TRACE"; - - public static final String LEVEL_VERBOSE = "VERBOSE"; - - public static final Level TRACE = new Level(LEVEL_TRACE, 600, 0x0020); - - public static final Level ERROR = new Level(LEVEL_ERROR, 500, 0x0010); - - public static final Level WARN = new Level(LEVEL_WARN, 400, 0x0008); - - public static final Level INFO = new Level(LEVEL_INFO, 300, 0x0004); - - public static final Level DEBUG = new Level(LEVEL_DEBUG, 200, 0x0002); - - public static final Level VERBOSE = new Level(LEVEL_VERBOSE, 100, 0x0001); - - private static Map levels; - - /** - * Level name - */ - private String name; - - /** - * Level decided to output sequence - */ - private int level; - - /** - * Level code - */ - private int code; - - static - { - levels = new HashMap(); - registerLevel(TRACE); - registerLevel(ERROR); - registerLevel(WARN); - registerLevel(INFO); - registerLevel(DEBUG); - registerLevel(VERBOSE); - } - - public Level() - { - } - - /** - * Level constructor - * - * @param name Level name - * @param level Decided sequence - */ - public Level(String name, int level) - { - this.name = name; - this.level = level; - } - - /** - * Level constructor - * - * @param name Level name - * @param level Decided sequence - * @param code Level code - */ - public Level(String name, int level, int code) - { - this.name = name; - this.level = level; - this.code = code; - } - - /** - * Register level object - * - * @param level Level certified. - */ - public static void registerLevel(Level level) - { - levels.put(level.getName().toUpperCase(), level); - } - - /** - * Get level object by level name as key word - * - * @param key Level name - * @return Level object - */ - public static Level getLevel(String key) - { - return levels.get(key.toUpperCase()); - } - - /** - * Compare level between two levels. - * - * @param lv1 Level source - * @param lv2 Level target - * @return If lv1 is greater than lv2, it wiil return > 0. If lv1 is less - * than lv2, return < 0. otherwise return 0. - */ - public static int compare(Level lv1, Level lv2) - { - return lv1.getLevel() - lv2.getLevel(); - } - - /** - * Compare level between this and target level. - * - * @param target Level target - * @return If this level is greater than target, it wiil return > 0. If this - * level is less than target, return < 0. otherwise return 0. - */ - public int compare(Level target) - { - return this.getLevel() - target.getLevel(); - } - - public String getName() - { - return name; - } - - public void setName(String name) - { - this.name = name; - } - - public int getLevel() - { - return level; - } - - public void setLevel(int level) - { - this.level = level; - } - - public int getCode() - { - return code; - } - - public void setCode(int code) - { - this.code = code; - } - - /** - * {@inheritDoc} - */ - @Override - public int hashCode() - { - final int prime = 31; - int result = 1; - result = prime * result + code; - result = prime * result + level; - return result; - } - - /** - * {@inheritDoc} - */ - @Override - public boolean equals(Object obj) - { - if (this == obj) - return true; - if (obj == null) - return false; - if (getClass() != obj.getClass()) - return false; - Level other = (Level) obj; - if (code != other.code) - return false; - if (level != other.level) - return false; - return true; - } - - /** - * {@inheritDoc} - */ - @Override - public String toString() - { - return "Level [code=" + code + ", level=" + level + ", name=" + name - + "]"; - } - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log; + +import java.io.Serializable; +import java.util.HashMap; +import java.util.Map; + +/** + * Indicate the log message's level. + * + * The low level will output upper level message. For example: + * + *
+ * TRACE > ERROR > WARN > INFO > DEBUG > VERBOSE
+ * 
+ * + * Level.java + * + * @version 1.0.0 + * @author Liu lihua 2014-3-21 + */ +public class Level implements Serializable +{ + + private static final long serialVersionUID = 6561230519046683707L; + + public static final String LEVEL_INFO = "INFO"; + + public static final String LEVEL_DEBUG = "DEBUG"; + + public static final String LEVEL_WARN = "WARN"; + + public static final String LEVEL_ERROR = "ERROR"; + + public static final String LEVEL_TRACE = "TRACE"; + + public static final String LEVEL_VERBOSE = "VERBOSE"; + + public static final Level TRACE = new Level(LEVEL_TRACE, 600, 0x0020); + + public static final Level ERROR = new Level(LEVEL_ERROR, 500, 0x0010); + + public static final Level WARN = new Level(LEVEL_WARN, 400, 0x0008); + + public static final Level INFO = new Level(LEVEL_INFO, 300, 0x0004); + + public static final Level DEBUG = new Level(LEVEL_DEBUG, 200, 0x0002); + + public static final Level VERBOSE = new Level(LEVEL_VERBOSE, 100, 0x0001); + + private static Map levels; + + /** + * Level name + */ + private String name; + + /** + * Level decided to output sequence + */ + private int level; + + /** + * Level code + */ + private int code; + + static + { + levels = new HashMap(); + registerLevel(TRACE); + registerLevel(ERROR); + registerLevel(WARN); + registerLevel(INFO); + registerLevel(DEBUG); + registerLevel(VERBOSE); + } + + public Level() + { + } + + /** + * Level constructor + * + * @param name Level name + * @param level Decided sequence + */ + public Level(String name, int level) + { + this.name = name; + this.level = level; + } + + /** + * Level constructor + * + * @param name Level name + * @param level Decided sequence + * @param code Level code + */ + public Level(String name, int level, int code) + { + this.name = name; + this.level = level; + this.code = code; + } + + /** + * Register level object + * + * @param level Level certified. + */ + public static void registerLevel(Level level) + { + levels.put(level.getName().toUpperCase(), level); + } + + /** + * Get level object by level name as key word + * + * @param key Level name + * @return Level object + */ + public static Level getLevel(String key) + { + return levels.get(key.toUpperCase()); + } + + /** + * Compare level between two levels. + * + * @param lv1 Level source + * @param lv2 Level target + * @return If lv1 is greater than lv2, it will return > 0. If lv1 is less + * than lv2, return < 0. otherwise return 0. + */ + public static int compare(Level lv1, Level lv2) + { + return lv1.getLevel() - lv2.getLevel(); + } + + /** + * Compare level between this and target level. + * + * @param target Level target + * @return If this level is greater than target, it will return > 0. If this + * level is less than target, return < 0. otherwise return 0. + */ + public int compare(Level target) + { + return this.getLevel() - target.getLevel(); + } + + public String getName() + { + return name; + } + + public void setName(String name) + { + this.name = name; + } + + public int getLevel() + { + return level; + } + + public void setLevel(int level) + { + this.level = level; + } + + public int getCode() + { + return code; + } + + public void setCode(int code) + { + this.code = code; + } + + /** + * {@inheritDoc} + */ + @Override + public int hashCode() + { + final int prime = 31; + int result = 1; + result = prime * result + code; + result = prime * result + level; + return result; + } + + /** + * {@inheritDoc} + */ + @Override + public boolean equals(Object obj) + { + if (this == obj) + return true; + if (obj == null) + return false; + if (getClass() != obj.getClass()) + return false; + Level other = (Level) obj; + if (code != other.code) + return false; + if (level != other.level) + return false; + return true; + } + + /** + * {@inheritDoc} + */ + @Override + public String toString() + { + return "Level [code=" + code + ", level=" + level + ", name=" + name + + "]"; + } + +} diff --git a/src/darks/log/Logger.java b/src/darks/log/Logger.java index 87b76a0..1dbcb8d 100644 --- a/src/darks/log/Logger.java +++ b/src/darks/log/Logger.java @@ -1,272 +1,272 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log; - -import darks.log.appender.Appender; -import darks.log.utils.EnvUtils; - -/** - * Main logger class for developer - * - * Create a logger object by class object or tag string. Example: - * - *
- * static final Logger log = Logger.getLogger("demo");
- * 
- * static final Logger log = Logger.getLogger("darks.tag.demo");
- * 
- * static final Logger log = Logger.getLogger(Demo.class);
- * 
- * - * For using Logger before, you must configure logd.properties, which must be - * put in Java/src, Android/assets and other classpath which can be found.
- * Example: - * - *
- *  logd.root=info,console
- *  logd.appender.console=ConsoleAppender
- *  logd.appender.console.layout=PatternLayout
- *  logd.appender.console.layout.convertor=DefaultPattern
- *  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
- * 
- * - * If you want to use logger in android environment, you must configure android - * application for finding configuration file. In order to ensure the setting - * before logger used, Recommend you to configure it in android - * {@linkplain android.app.Application Application} onCreate method.
- * Example: - * - *
- * 	Logger.Android.setApplication(...);
- * 
- * - * Logger.java - * - * @version 1.0.0 - * @author Liu lihua 2014-3-21 - */ -public abstract class Logger -{ - - /** - * Android configration - */ - public static AndroidConfig Android; - - private static LoggerConfig config; - - static - { - if (EnvUtils.isAndroidEnv()) - { - Android = new AndroidConfig(); - } - config = new LoggerConfig(); - } - - /** - * Get the logger by tag class. Example: - * - *
-     * static Logger log = Logger.getLogger(Demo.class);
-     * 
- * - * @param clazz Tag class - * @return Logger object - */ - public static Logger getLogger(Class clazz) - { - return getLogger(clazz.getName()); - } - - /** - * Get the logger by tag string. Example: - * - *
-     * static Logger log = Logger.getLogger("demo");
-     * 
- * - * @param tag Tag string - * @return Logger object - */ - public static Logger getLogger(String tag) - { - return LoggerFactory.getLogger(tag); - } - - /** - * Output log message by level INFO. - * - * @param msg log message - */ - public void info(String msg) - { - log(Level.INFO, msg); - } - - /** - * Output log message and exception stack information by level INFO. - * - * @param msg Log message - * @param t Throwable object - */ - public void info(String msg, Throwable t) - { - log(Level.INFO, msg, t); - } - - /** - * Output log message by level DEBUG. - * - * @param msg Log message - */ - public void debug(String msg) - { - log(Level.DEBUG, msg); - } - - /** - * Output log message and exception stack information by level DEBUG. - * - * @param msg Log message - * @param t Throwable object - */ - public void debug(String msg, Throwable t) - { - log(Level.DEBUG, msg, t); - } - - /** - * Output log message by level WARN. - * - * @param msg Log message - */ - public void warn(String msg) - { - log(Level.WARN, msg); - } - - /** - * Output log message and exception stack information by level WARN. - * - * @param msg Log message - * @param t Throwable object - */ - public void warn(String msg, Throwable t) - { - log(Level.WARN, msg, t); - } - - /** - * Output log message by level ERROR. - * - * @param msg Log message - */ - public void error(String msg) - { - log(Level.ERROR, msg); - } - - /** - * Output log message and exception stack information by level ERROR. - * - * @param msg Log message - * @param t Throwable object - */ - public void error(String msg, Throwable t) - { - log(Level.ERROR, msg, t); - } - - /** - * Output log message by level TRACE. - * - * @param msg Log message - */ - public void trace(String msg) - { - log(Level.TRACE, msg); - } - - /** - * Output log message and exception stack information by level TRACE. - * - * @param msg Log message - * @param t Throwable object - */ - public void trace(String msg, Throwable t) - { - log(Level.TRACE, msg, t); - } - - /** - * Output log message by level VERBOSE. - * - * @param msg Log message - */ - public void verbose(String msg) - { - log(Level.VERBOSE, msg); - } - - /** - * Output log message and exception stack information by level VERBOSE. - * - * @param msg Log message - * @param t Throwable object - */ - public void verbose(String msg, Throwable t) - { - log(Level.VERBOSE, msg, t); - } - - /** - * Output log message by target level. - * - * @param level Level object - * @param msg Log message - */ - public void log(Level level, String msg) - { - log(level, msg, null); - } - - /** - * Output log message and exception stack information by target level. - * - * @param level Level object - * @param msg Log message - * @param t Throwable object - */ - public abstract void log(Level level, String msg, Throwable t); - - /** - * Add appender object - * - * @param appender Appender object - * @param rooted If true, appender wiil be added to root logger. otherwise - * be added to current logger. - */ - public abstract void addAppender(Appender appender, boolean rooted); - - public static LoggerConfig getConfig() - { - return config; - } - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log; + +import darks.log.appender.Appender; +import darks.log.utils.EnvUtils; + +/** + * Main logger class for developer + * + * Create a logger object by class object or tag string. Example: + * + *
+ * static final Logger log = Logger.getLogger("demo");
+ * 
+ * static final Logger log = Logger.getLogger("darks.tag.demo");
+ * 
+ * static final Logger log = Logger.getLogger(Demo.class);
+ * 
+ * + * For using Logger before, you must configure logd.properties, which must be + * put in Java/src, Android/assets and other classpath which can be found.
+ * Example: + * + *
+ *  logd.root=info,console
+ *  logd.appender.console=ConsoleAppender
+ *  logd.appender.console.layout=PatternLayout
+ *  logd.appender.console.layout.convertor=DefaultPattern
+ *  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+ * 
+ * + * If you want to use logger in android environment, you must configure android + * application for finding configuration file. In order to ensure the setting + * before logger used, Recommend you to configure it in android + * {@linkplain android.app.Application Application} onCreate method.
+ * Example: + * + *
+ * 	Logger.Android.setApplication(...);
+ * 
+ * + * Logger.java + * + * @version 1.0.0 + * @author Liu lihua 2014-3-21 + */ +public abstract class Logger +{ + + /** + * Android configration + */ + public static AndroidConfig Android; + + private static LoggerConfig config; + + static + { + if (EnvUtils.isAndroidEnv()) + { + Android = new AndroidConfig(); + } + config = new LoggerConfig(); + } + + /** + * Get the logger by tag class. Example: + * + *
+     * static Logger log = Logger.getLogger(Demo.class);
+     * 
+ * + * @param clazz Tag class + * @return Logger object + */ + public static Logger getLogger(Class clazz) + { + return getLogger(clazz.getName()); + } + + /** + * Get the logger by tag string. Example: + * + *
+     * static Logger log = Logger.getLogger("demo");
+     * 
+ * + * @param tag Tag string + * @return Logger object + */ + public static Logger getLogger(String tag) + { + return LoggerFactory.getLogger(tag); + } + + /** + * Output log message by level INFO. + * + * @param msg log message + */ + public void info(String msg) + { + log(Level.INFO, msg); + } + + /** + * Output log message and exception stack information by level INFO. + * + * @param msg Log message + * @param t Throwable object + */ + public void info(String msg, Throwable t) + { + log(Level.INFO, msg, t); + } + + /** + * Output log message by level DEBUG. + * + * @param msg Log message + */ + public void debug(String msg) + { + log(Level.DEBUG, msg); + } + + /** + * Output log message and exception stack information by level DEBUG. + * + * @param msg Log message + * @param t Throwable object + */ + public void debug(String msg, Throwable t) + { + log(Level.DEBUG, msg, t); + } + + /** + * Output log message by level WARN. + * + * @param msg Log message + */ + public void warn(String msg) + { + log(Level.WARN, msg); + } + + /** + * Output log message and exception stack information by level WARN. + * + * @param msg Log message + * @param t Throwable object + */ + public void warn(String msg, Throwable t) + { + log(Level.WARN, msg, t); + } + + /** + * Output log message by level ERROR. + * + * @param msg Log message + */ + public void error(String msg) + { + log(Level.ERROR, msg); + } + + /** + * Output log message and exception stack information by level ERROR. + * + * @param msg Log message + * @param t Throwable object + */ + public void error(String msg, Throwable t) + { + log(Level.ERROR, msg, t); + } + + /** + * Output log message by level TRACE. + * + * @param msg Log message + */ + public void trace(String msg) + { + log(Level.TRACE, msg); + } + + /** + * Output log message and exception stack information by level TRACE. + * + * @param msg Log message + * @param t Throwable object + */ + public void trace(String msg, Throwable t) + { + log(Level.TRACE, msg, t); + } + + /** + * Output log message by level VERBOSE. + * + * @param msg Log message + */ + public void verbose(String msg) + { + log(Level.VERBOSE, msg); + } + + /** + * Output log message and exception stack information by level VERBOSE. + * + * @param msg Log message + * @param t Throwable object + */ + public void verbose(String msg, Throwable t) + { + log(Level.VERBOSE, msg, t); + } + + /** + * Output log message by target level. + * + * @param level Level object + * @param msg Log message + */ + public void log(Level level, String msg) + { + log(level, msg, null); + } + + /** + * Output log message and exception stack information by target level. + * + * @param level Level object + * @param msg Log message + * @param t Throwable object + */ + public abstract void log(Level level, String msg, Throwable t); + + /** + * Add appender object + * + * @param appender Appender object + * @param rooted If true, appender will be added to root logger. otherwise + * be added to current logger. + */ + public abstract void addAppender(Appender appender, boolean rooted); + + public static LoggerConfig getConfig() + { + return config; + } + +} diff --git a/src/darks/log/LoggerHolder.java b/src/darks/log/LoggerHolder.java index 82cf44a..bc95985 100644 --- a/src/darks/log/LoggerHolder.java +++ b/src/darks/log/LoggerHolder.java @@ -1,70 +1,70 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log; - -import java.util.LinkedList; -import java.util.List; - -import darks.log.appender.Appender; - -/** - * Appenders's holder for async appender. It wiil be handled in logger thread. - * LoggerHolder.java - * - * @see LoggerThread - * @version 1.0.0 - * @author Liu lihua 2014-3-21 - */ -public class LoggerHolder -{ - - private List appenders; - - private LogMessage msg; - - public LoggerHolder(LogMessage msg) - { - this.msg = msg; - appenders = new LinkedList(); - } - - public List getAppenders() - { - return appenders; - } - - public void addAppender(Appender appender) - { - appenders.add(appender); - } - - public LogMessage getMsg() - { - return msg; - } - - public void setMsg(LogMessage msg) - { - this.msg = msg; - } - - public boolean isEmpty() - { - return appenders.isEmpty(); - } -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log; + +import java.util.LinkedList; +import java.util.List; + +import darks.log.appender.Appender; + +/** + * Appenders's holder for async appender. It will be handled in logger thread. + * LoggerHolder.java + * + * @see LoggerThread + * @version 1.0.0 + * @author Liu lihua 2014-3-21 + */ +public class LoggerHolder +{ + + private List appenders; + + private LogMessage msg; + + public LoggerHolder(LogMessage msg) + { + this.msg = msg; + appenders = new LinkedList(); + } + + public List getAppenders() + { + return appenders; + } + + public void addAppender(Appender appender) + { + appenders.add(appender); + } + + public LogMessage getMsg() + { + return msg; + } + + public void setMsg(LogMessage msg) + { + this.msg = msg; + } + + public boolean isEmpty() + { + return appenders.isEmpty(); + } +} diff --git a/src/darks/log/appender/Appender.java b/src/darks/log/appender/Appender.java index 230a5cb..ad6a2d5 100644 --- a/src/darks/log/appender/Appender.java +++ b/src/darks/log/appender/Appender.java @@ -1,228 +1,228 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log.appender; - -import java.io.PrintWriter; -import java.io.StringWriter; - -import darks.log.LogMessage; -import darks.log.filter.LoggerFilter; -import darks.log.kernel.Kernel; -import darks.log.layout.LoggerLayout; -import darks.log.utils.IoUtils; -import darks.log.utils.StringUtils; - -/** - * Appender interface for Custom log output. Example: - * - *
- * public class SqliteAppender extends Appender
- * {
- * 
- *     @Override
- *     public void append(LogMessage msg, String log) throws Exception
- *     {
- *  	   ...
- *     }
- * 
- *     @Override
- *     public boolean needPattern()
- *     {
- *         return true;
- *     }
- * 
- * }
- * 
- * - * Appender.java - * - * @version 1.0.0 - * @author Liu lihua - */ -public abstract class Appender -{ - - private String name; - - /** - * Logger layout can format log message. You can use - * {@linkplain darks.log.PatternLayout PatternLayout}, - * {@linkplain darks.log.SimpleLayout SimpleLayout} or custom layout - */ - private LoggerLayout layout; - - /** - * Logger filter can filter log message such as level. - */ - private LoggerFilter filter; - - /** - * If true, indicate that log message wiil be outputed in logger thread. - */ - private boolean async = false; - - private volatile boolean activated = false; - - public Appender() - { - - } - - public Appender(LoggerLayout layout) - { - this.layout = layout; - } - - private void checkActivate() - { - if (!activated) - { - activated = true; - activateHandler(); - } - } - - /** - * The method wiil be called before first of doAppend called. - */ - public void activateHandler() - { - - } - - /** - * Handle log message - * - * @param msg Log message - */ - public synchronized void doAppend(LogMessage msg) - { - checkActivate(); - if (filter != null && filter.filter(msg) != LoggerFilter.ALLOW) - { - return; - } - String log = null; - if (layout != null && needPattern() && layout.getConvertor() != null) - { - log = layout.format(msg); - } - try - { - append(msg, log); - } - catch (Exception e) - { - Kernel.logError(e.getMessage(), e); - } - } - - /** - * Append log message - * - * @param msg Log message - * @param log if needPattern() return true, log wiil be formatted by layout. - * Otherwise return LogMessage.message - * @throws Exception Exception information - */ - public abstract void append(LogMessage msg, String log) throws Exception; - - /** - * Whether need format log message string by layout. - * - * @return If need, return true default. - */ - public abstract boolean needPattern(); - - /** - * Buffer log message string with exception stack trace message target. - * - * @param log Log message string - * @param e Exception object - * @return Log message with exception trace. - */ - public String getThrowMessage(String log, Throwable e) - { - if (e != null) - { - StringWriter sw = new StringWriter(64); - sw.append(log); - if (!log.endsWith(StringUtils.LINE_RETURN)) - { - sw.append(StringUtils.LINE_RETURN); - } - PrintWriter pw = null; - try - { - pw = new PrintWriter(sw); - e.printStackTrace(pw); - pw.flush(); - } - finally - { - IoUtils.closeIO(pw); - } - return sw.toString(); - } - else - { - return log; - } - } - - public String getName() - { - return name; - } - - public void setName(String name) - { - this.name = name; - } - - public LoggerLayout getLayout() - { - return layout; - } - - public void setLayout(LoggerLayout layout) - { - this.layout = layout; - } - - public LoggerFilter getFilter() - { - return filter; - } - - public void setFilter(LoggerFilter filter) - { - this.filter = filter; - } - - public boolean isAsync() - { - return async; - } - - public void setAsync(boolean async) - { - this.async = async; - } - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log.appender; + +import java.io.PrintWriter; +import java.io.StringWriter; + +import darks.log.LogMessage; +import darks.log.filter.LoggerFilter; +import darks.log.kernel.Kernel; +import darks.log.layout.LoggerLayout; +import darks.log.utils.IoUtils; +import darks.log.utils.StringUtils; + +/** + * Appender interface for Custom log output. Example: + * + *
+ * public class CustomAppender extends Appender
+ * {
+ * 
+ *     @Override
+ *     public void append(LogMessage msg, String log) throws Exception
+ *     {
+ *  	   ...
+ *     }
+ * 
+ *     @Override
+ *     public boolean needPattern()
+ *     {
+ *         return true;
+ *     }
+ * 
+ * }
+ * 
+ * + * Appender.java + * + * @version 1.0.0 + * @author Liu lihua + */ +public abstract class Appender +{ + + private String name; + + /** + * Logger layout can format log message. You can use + * {@linkplain darks.log.PatternLayout PatternLayout}, + * {@linkplain darks.log.SimpleLayout SimpleLayout} or custom layout + */ + private LoggerLayout layout; + + /** + * Logger filter can filter log message such as level. + */ + private LoggerFilter filter; + + /** + * If true, indicate that log message will be output in logger thread. + */ + private boolean async = false; + + private volatile boolean activated = false; + + public Appender() + { + + } + + public Appender(LoggerLayout layout) + { + this.layout = layout; + } + + private void checkActivate() + { + if (!activated) + { + activated = true; + activateHandler(); + } + } + + /** + * The method will be called before first of doAppend called. + */ + public void activateHandler() + { + + } + + /** + * Handle log message + * + * @param msg Log message + */ + public synchronized void doAppend(LogMessage msg) + { + checkActivate(); + if (filter != null && filter.filter(msg) != LoggerFilter.ALLOW) + { + return; + } + String log = null; + if (layout != null && needPattern() && layout.getConvertor() != null) + { + log = layout.format(msg); + } + try + { + append(msg, log); + } + catch (Exception e) + { + Kernel.logError(e.getMessage(), e); + } + } + + /** + * Append log message + * + * @param msg Log message + * @param log if needPattern() return true, log will be formatted by layout. + * Otherwise return LogMessage.message + * @throws Exception Exception information + */ + public abstract void append(LogMessage msg, String log) throws Exception; + + /** + * Whether need format log message string by layout. + * + * @return If need, return true default. + */ + public abstract boolean needPattern(); + + /** + * Buffer log message string with exception stack trace message target. + * + * @param log Log message string + * @param e Exception object + * @return Log message with exception trace. + */ + public String getThrowMessage(String log, Throwable e) + { + if (e != null) + { + StringWriter sw = new StringWriter(64); + sw.append(log); + if (!log.endsWith(StringUtils.LINE_RETURN)) + { + sw.append(StringUtils.LINE_RETURN); + } + PrintWriter pw = null; + try + { + pw = new PrintWriter(sw); + e.printStackTrace(pw); + pw.flush(); + } + finally + { + IoUtils.closeIO(pw); + } + return sw.toString(); + } + else + { + return log; + } + } + + public String getName() + { + return name; + } + + public void setName(String name) + { + this.name = name; + } + + public LoggerLayout getLayout() + { + return layout; + } + + public void setLayout(LoggerLayout layout) + { + this.layout = layout; + } + + public LoggerFilter getFilter() + { + return filter; + } + + public void setFilter(LoggerFilter filter) + { + this.filter = filter; + } + + public boolean isAsync() + { + return async; + } + + public void setAsync(boolean async) + { + this.async = async; + } + +} diff --git a/src/darks/log/appender/impl/AndroidAppender.java b/src/darks/log/appender/impl/AndroidAppender.java index dd00f05..a474610 100644 --- a/src/darks/log/appender/impl/AndroidAppender.java +++ b/src/darks/log/appender/impl/AndroidAppender.java @@ -1,99 +1,99 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log.appender.impl; - -import android.util.Log; -import darks.log.Level; -import darks.log.LogMessage; -import darks.log.appender.Appender; -import darks.log.kernel.Kernel; - -/** - * Appender for android. The appender wiil output log message in logcat.
- * Example: - * - *
- *  logd.appender.console=AndroidAppender
- *  logd.appender.console.layout=PatternLayout
- *  logd.appender.console.layout.convertor=DefaultPattern
- *  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} [%f][%p] - %m%n
- * 
- * - * AndroidAppender.java - * - * @see Appender - * @version 1.0.0 - * @author Liu lihua - */ -public class AndroidAppender extends Appender -{ - - public AndroidAppender() - { - } - - /** - * {@inheritDoc} - */ - @Override - public void append(LogMessage msg, String log) throws Exception - { - if (log == null) - { - Kernel.logError("Android appender log is null"); - return; - } - Level level = msg.getLevel(); - Throwable e = msg.getThrowableInfo().getThrowable(); - log = getThrowMessage(log, e); - if (level.equals(Level.DEBUG)) - { - Log.d(msg.getNamespace(), log); - } - else if (level.equals(Level.ERROR)) - { - Log.e(msg.getNamespace(), log); - } - else if (level.equals(Level.INFO)) - { - Log.i(msg.getNamespace(), log); - } - else if (level.equals(Level.VERBOSE)) - { - Log.v(msg.getNamespace(), log); - } - else if (level.equals(Level.WARN)) - { - Log.w(msg.getNamespace(), log); - } - else if (level.equals(Level.TRACE)) - { - Log.wtf(msg.getNamespace(), log); - } - } - - /** - * {@inheritDoc} - */ - @Override - public boolean needPattern() - { - return true; - } - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log.appender.impl; + +import android.util.Log; +import darks.log.Level; +import darks.log.LogMessage; +import darks.log.appender.Appender; +import darks.log.kernel.Kernel; + +/** + * Appender for android. The appender will output log message in logcat.
+ * Example: + * + *
+ *  logd.appender.console=AndroidAppender
+ *  logd.appender.console.layout=PatternLayout
+ *  logd.appender.console.layout.convertor=DefaultPattern
+ *  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} [%f][%p] - %m%n
+ * 
+ * + * AndroidAppender.java + * + * @see Appender + * @version 1.0.0 + * @author Liu lihua + */ +public class AndroidAppender extends Appender +{ + + public AndroidAppender() + { + } + + /** + * {@inheritDoc} + */ + @Override + public void append(LogMessage msg, String log) throws Exception + { + if (log == null) + { + Kernel.logError("Android appender log is null"); + return; + } + Level level = msg.getLevel(); + Throwable e = msg.getThrowableInfo().getThrowable(); + log = getThrowMessage(log, e); + if (level.equals(Level.DEBUG)) + { + Log.d(msg.getNamespace(), log); + } + else if (level.equals(Level.ERROR)) + { + Log.e(msg.getNamespace(), log); + } + else if (level.equals(Level.INFO)) + { + Log.i(msg.getNamespace(), log); + } + else if (level.equals(Level.VERBOSE)) + { + Log.v(msg.getNamespace(), log); + } + else if (level.equals(Level.WARN)) + { + Log.w(msg.getNamespace(), log); + } + else if (level.equals(Level.TRACE)) + { + Log.wtf(msg.getNamespace(), log); + } + } + + /** + * {@inheritDoc} + */ + @Override + public boolean needPattern() + { + return true; + } + +} diff --git a/src/darks/log/appender/impl/ConsoleAppender.java b/src/darks/log/appender/impl/ConsoleAppender.java index 39b81bc..c9fb6df 100644 --- a/src/darks/log/appender/impl/ConsoleAppender.java +++ b/src/darks/log/appender/impl/ConsoleAppender.java @@ -1,76 +1,76 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log.appender.impl; - -import darks.log.Level; -import darks.log.LogMessage; -import darks.log.appender.Appender; - -/** - * Appender for system console. The appender wiil output log message in command - * console.
- * Example: - * - *
- *  logd.appender.console=ConsoleAppender
- *  logd.appender.console.layout=PatternLayout
- *  logd.appender.console.layout.convertor=DefaultPattern
- *  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} [%f][%p] - %m%n
- * 
- * - * ConsoleAppender.java - * - * @see Appender - * @version 1.0.0 - * @author Liu lihua - */ -public class ConsoleAppender extends Appender -{ - - public ConsoleAppender() - { - } - - /** - * {@inheritDoc} - */ - @Override - public void append(LogMessage msg, String log) throws Exception - { - if (msg.getLevel().equals(Level.ERROR)) - { - Throwable e = msg.getThrowableInfo().getThrowable(); - System.err.print(getThrowMessage(log, e)); - } - else - { - Throwable e = msg.getThrowableInfo().getThrowable(); - System.out.print(getThrowMessage(log, e)); - } - } - - /** - * {@inheritDoc} - */ - @Override - public boolean needPattern() - { - return true; - } - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log.appender.impl; + +import darks.log.Level; +import darks.log.LogMessage; +import darks.log.appender.Appender; + +/** + * Appender for system console. The appender will output log message in command + * console.
+ * Example: + * + *
+ *  logd.appender.console=ConsoleAppender
+ *  logd.appender.console.layout=PatternLayout
+ *  logd.appender.console.layout.convertor=DefaultPattern
+ *  logd.appender.console.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} [%f][%p] - %m%n
+ * 
+ * + * ConsoleAppender.java + * + * @see Appender + * @version 1.0.0 + * @author Liu lihua + */ +public class ConsoleAppender extends Appender +{ + + public ConsoleAppender() + { + } + + /** + * {@inheritDoc} + */ + @Override + public void append(LogMessage msg, String log) throws Exception + { + if (msg.getLevel().equals(Level.ERROR)) + { + Throwable e = msg.getThrowableInfo().getThrowable(); + System.err.print(getThrowMessage(log, e)); + } + else + { + Throwable e = msg.getThrowableInfo().getThrowable(); + System.out.print(getThrowMessage(log, e)); + } + } + + /** + * {@inheritDoc} + */ + @Override + public boolean needPattern() + { + return true; + } + +} diff --git a/src/darks/log/appender/impl/FileAppender.java b/src/darks/log/appender/impl/FileAppender.java index 25614ef..2cd2b89 100644 --- a/src/darks/log/appender/impl/FileAppender.java +++ b/src/darks/log/appender/impl/FileAppender.java @@ -1,252 +1,252 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log.appender.impl; - -import java.io.BufferedOutputStream; -import java.io.IOException; -import java.io.OutputStream; -import java.util.Date; - -import darks.log.appender.Appender; -import darks.log.externs.FilePicker; -import darks.log.kernel.Kernel; -import darks.log.layout.LoggerLayout; -import darks.log.utils.EnvUtils; -import darks.log.utils.StorageUtils; -import darks.log.utils.StringUtils; -import darks.log.utils.TimeUtils; - -/** - * Appender for file. If you want to create dynamical file name, you can use - * ${PROPERTY_VARIABLE} to get system property value such as ${user.dir}. If you - * want to include the date or time in file name, you can use ${D[DATE_PATTERN]} - * such as ${Dyyyy_MM_dd_HH_mm_ss}.
- * Example: - * - *
- *  logd.appender.FILE=FileAppender
- *  logd.appender.FILE.layout=PatternLayout
- *  logd.appender.FILE.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
- *  logd.appender.FILE.fileName=${user.dir}/log_${Dyyyy_MM_dd_HH_mm_ss_SS}.txt
- *  logd.appender.FILE.buffered=true
- * 
- * - * FileAppender.java - * - * @see StreamAppender - * @see Appender - * @version 1.0.0 - * @author Liu lihua - */ -public class FileAppender extends StreamAppender -{ - private static final String DEFAULT_DATE_PATTERN = "yyyyMMddHHmmss"; - - private static final int DEFAULT_BUF_SIZE = 8192; - - private static final String EXTERN_STORAGE = "sdcard"; - - private static final String CUR_TIME = "cur_time"; - - private static final String CUR_DATE = "cur_date"; - - /** - * If true, will append content to file - */ - protected boolean fileAppend = true; - - /** - * File name - */ - protected String fileName = null; - - /** - * If true, will use buffer IO. - */ - protected boolean buffered = true; - - /** - * Buffer size - */ - protected int bufferSize = DEFAULT_BUF_SIZE; - - /** - * Indicate to pick file path. default - * {@linkplain darks.log.externs.FilePicker FilePicker}. - */ - protected FilePicker filePicker = new FilePicker(); - - static - { - initEnv(); - } - - public FileAppender() - { - } - - public FileAppender(LoggerLayout layout) - { - super(layout); - } - - public FileAppender(OutputStream outStream) - { - super(outStream); - } - - public FileAppender(LoggerLayout layout, OutputStream outStream) - { - super(layout, outStream); - } - - /** - * {@inheritDoc} - */ - @Override - public void activateHandler() - { - if (fileName != null) - { - try - { - createFile(fileName, fileAppend, buffered, bufferSize); - } - catch (IOException e) - { - Kernel.logError("File appender create file " + fileName - + " failed."); - } - } - else - { - Kernel.logWarn("File appender's file name is null"); - } - } - - /** - * Create file by paramters - * - * @param path File path - * @param append If true, append content to stream. - * @param bufIO If true, immediateFlush wiil be false. - * @param bufSize Buffer size - * @return File path after converted - * @throws IOException IOException object - */ - public String createFile(String path, boolean append, boolean bufIO, - int bufSize) throws IOException - { - if (bufIO) - { - immediateFlush = false; - } - resetTimeProperty(); - path = StringUtils.replacePropertyVar(path); - OutputStream fos = filePicker.getOutputStream(path, append); - if (fos != null) - { - OutputStream out = fos; - if (buffered) - { - out = new BufferedOutputStream(fos, bufferSize); - } - setOutStream(expandOutStream(path, out)); - } - return path; - } - - /** - * Expand output stream before set output stream. - * - * @param path File path - * @param outStream OutputStream object - * @return OutputStream object after converted - */ - public OutputStream expandOutStream(String path, OutputStream outStream) - { - return outStream; - } - - private void resetTimeProperty() - { - System.setProperty(CUR_TIME, String.valueOf(System.currentTimeMillis())); - System.setProperty(CUR_DATE, - TimeUtils.getFormatter(DEFAULT_DATE_PATTERN).format(new Date())); - } - - private static void initEnv() - { - if (EnvUtils.isAndroidEnv()) - { - System.setProperty(EXTERN_STORAGE, - StorageUtils.getAbsoluteSdcardPath()); - } - } - - public boolean isFileAppend() - { - return fileAppend; - } - - public void setFileAppend(boolean fileAppend) - { - this.fileAppend = fileAppend; - } - - public String getFileName() - { - return fileName; - } - - public void setFileName(String fileName) - { - this.fileName = fileName; - } - - public boolean isBuffered() - { - return buffered; - } - - public void setBuffered(boolean buffered) - { - this.buffered = buffered; - } - - public int getBufferSize() - { - return bufferSize; - } - - public void setBufferSize(int bufferSize) - { - this.bufferSize = bufferSize; - } - - public FilePicker getFilePicker() - { - return filePicker; - } - - public void setFilePicker(FilePicker filePicker) - { - this.filePicker = filePicker; - } - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log.appender.impl; + +import java.io.BufferedOutputStream; +import java.io.IOException; +import java.io.OutputStream; +import java.util.Date; + +import darks.log.appender.Appender; +import darks.log.externs.FilePicker; +import darks.log.kernel.Kernel; +import darks.log.layout.LoggerLayout; +import darks.log.utils.EnvUtils; +import darks.log.utils.StorageUtils; +import darks.log.utils.StringUtils; +import darks.log.utils.TimeUtils; + +/** + * Appender for file. If you want to create dynamical file name, you can use + * ${PROPERTY_VARIABLE} to get system property value such as ${user.dir}. If you + * want to include the date or time in file name, you can use ${D[DATE_PATTERN]} + * such as ${Dyyyy_MM_dd_HH_mm_ss}.
+ * Example: + * + *
+ *  logd.appender.FILE=FileAppender
+ *  logd.appender.FILE.layout=PatternLayout
+ *  logd.appender.FILE.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+ *  logd.appender.FILE.fileName=${user.dir}/log_${Dyyyy_MM_dd_HH_mm_ss_SS}.txt
+ *  logd.appender.FILE.buffered=true
+ * 
+ * + * FileAppender.java + * + * @see StreamAppender + * @see Appender + * @version 1.0.0 + * @author Liu lihua + */ +public class FileAppender extends StreamAppender +{ + private static final String DEFAULT_DATE_PATTERN = "yyyyMMddHHmmss"; + + private static final int DEFAULT_BUF_SIZE = 8192; + + private static final String EXTERN_STORAGE = "sdcard"; + + private static final String CUR_TIME = "cur_time"; + + private static final String CUR_DATE = "cur_date"; + + /** + * If true, will append content to file + */ + protected boolean fileAppend = true; + + /** + * File name + */ + protected String fileName = null; + + /** + * If true, will use buffer IO. + */ + protected boolean buffered = true; + + /** + * Buffer size + */ + protected int bufferSize = DEFAULT_BUF_SIZE; + + /** + * Indicate to pick file path. default + * {@linkplain darks.log.externs.FilePicker FilePicker}. + */ + protected FilePicker filePicker = new FilePicker(); + + static + { + initEnv(); + } + + public FileAppender() + { + } + + public FileAppender(LoggerLayout layout) + { + super(layout); + } + + public FileAppender(OutputStream outStream) + { + super(outStream); + } + + public FileAppender(LoggerLayout layout, OutputStream outStream) + { + super(layout, outStream); + } + + /** + * {@inheritDoc} + */ + @Override + public void activateHandler() + { + if (fileName != null) + { + try + { + createFile(fileName, fileAppend, buffered, bufferSize); + } + catch (IOException e) + { + Kernel.logError("File appender create file " + fileName + + " failed."); + } + } + else + { + Kernel.logWarn("File appender's file name is null"); + } + } + + /** + * Create file by paramters + * + * @param path File path + * @param append If true, append content to stream. + * @param bufIO If true, immediateFlush will be false. + * @param bufSize Buffer size + * @return File path after converted + * @throws IOException IOException object + */ + public String createFile(String path, boolean append, boolean bufIO, + int bufSize) throws IOException + { + if (bufIO) + { + immediateFlush = false; + } + resetTimeProperty(); + path = StringUtils.replacePropertyVar(path); + OutputStream fos = filePicker.getOutputStream(path, append); + if (fos != null) + { + OutputStream out = fos; + if (buffered) + { + out = new BufferedOutputStream(fos, bufferSize); + } + setOutStream(expandOutStream(path, out)); + } + return path; + } + + /** + * Expand output stream before set output stream. + * + * @param path File path + * @param outStream OutputStream object + * @return OutputStream object after converted + */ + public OutputStream expandOutStream(String path, OutputStream outStream) + { + return outStream; + } + + private void resetTimeProperty() + { + System.setProperty(CUR_TIME, String.valueOf(System.currentTimeMillis())); + System.setProperty(CUR_DATE, + TimeUtils.getFormatter(DEFAULT_DATE_PATTERN).format(new Date())); + } + + private static void initEnv() + { + if (EnvUtils.isAndroidEnv()) + { + System.setProperty(EXTERN_STORAGE, + StorageUtils.getAbsoluteSdcardPath()); + } + } + + public boolean isFileAppend() + { + return fileAppend; + } + + public void setFileAppend(boolean fileAppend) + { + this.fileAppend = fileAppend; + } + + public String getFileName() + { + return fileName; + } + + public void setFileName(String fileName) + { + this.fileName = fileName; + } + + public boolean isBuffered() + { + return buffered; + } + + public void setBuffered(boolean buffered) + { + this.buffered = buffered; + } + + public int getBufferSize() + { + return bufferSize; + } + + public void setBufferSize(int bufferSize) + { + this.bufferSize = bufferSize; + } + + public FilePicker getFilePicker() + { + return filePicker; + } + + public void setFilePicker(FilePicker filePicker) + { + this.filePicker = filePicker; + } + +} diff --git a/src/darks/log/appender/impl/FileDateSizeAppender.java b/src/darks/log/appender/impl/FileDateSizeAppender.java index 3b36a3c..775a2b5 100644 --- a/src/darks/log/appender/impl/FileDateSizeAppender.java +++ b/src/darks/log/appender/impl/FileDateSizeAppender.java @@ -1,171 +1,173 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log.appender.impl; - -import java.io.File; -import java.io.IOException; -import java.io.OutputStream; - -import darks.log.LogMessage; -import darks.log.appender.Appender; -import darks.log.appender.io.RecordOutputStream; -import darks.log.kernel.Kernel; -import darks.log.layout.LoggerLayout; - -/** - * Appender for file. The appender can keep log files in custom days(Default 7 - * days). If current log file's size is out of custom max size(Default 10MB), it - * will create the new one. FileDateSizeAppender.java
- * Example: - * - *
- *  logd.appender.FILE=FileDateSizeAppender
- *  logd.appender.FILE.layout=PatternLayout
- *  logd.appender.FILE.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
- *  logd.appender.FILE.fileName=${user.dir}/log_${Dyyyy_MM_dd_HH_mm_ss_SS}.txt
- *  logd.appender.FILE.buffered=true
- *  logd.appender.FILE.maxSize=10485760
- *  logd.appender.FILE.keepDay=7
- * 
- * - * @see FileAppender - * @see StreamAppender - * @see Appender - * @version 1.0.0 - * @author Liu lihua - */ -public class FileDateSizeAppender extends FileAppender -{ - - /** - * Max log file size - */ - private long maxSize = 10485760L; - - /** - * Keep custom days. - */ - private int keepDay = 7; - - public FileDateSizeAppender() - { - } - - public FileDateSizeAppender(LoggerLayout layout) - { - super(layout); - } - - public FileDateSizeAppender(OutputStream outStream) - { - super(outStream); - } - - public FileDateSizeAppender(LoggerLayout layout, OutputStream outStream) - { - super(layout, outStream); - } - - /** - * {@inheritDoc} - */ - @Override - public void activateHandler() - { - super.activateHandler(); - } - - /** - * {@inheritDoc} - */ - @Override - protected void expandAppend(LogMessage msg, String log) throws Exception - { - RecordOutputStream ros = (RecordOutputStream) getOutStream(); - if (ros != null) - { - long size = ros.getCount(); - if (size > maxSize) - { - closeStream(); - try - { - createFile(fileName, fileAppend, buffered, bufferSize); - } - catch (IOException e) - { - Kernel.logError("File date size appender create file " - + fileName + " failed."); - } - } - } - } - - /** - * {@inheritDoc} - */ - @Override - public OutputStream expandOutStream(String path, OutputStream outStream) - { - OutputStream out = super.expandOutStream(path, outStream); - File file = new File(path); - cleanOutDateFile(file.getParentFile()); - long initSize = file.exists() ? file.length() : 0; - return new RecordOutputStream(out, initSize); - } - - private void cleanOutDateFile(File dir) - { - long curTime = System.currentTimeMillis(); - File[] files = dir.listFiles(); - if (files == null || files.length == 0) - { - return; - } - int keepTime = keepDay * 24 * 60 * 60 * 1000; - for (File file : files) - { - if (file.isFile() && curTime - file.lastModified() > keepTime) - { - System.out.println("clear " + file); - file.delete(); - } - } - } - - public long getMaxSize() - { - return maxSize; - } - - public void setMaxSize(long maxSize) - { - this.maxSize = maxSize; - } - - public int getKeepDay() - { - return keepDay; - } - - public void setKeepDay(int keepDay) - { - this.keepDay = keepDay; - } - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log.appender.impl; + +import java.io.File; +import java.io.IOException; +import java.io.OutputStream; + +import darks.log.LogMessage; +import darks.log.appender.Appender; +import darks.log.appender.io.RecordOutputStream; +import darks.log.kernel.Kernel; +import darks.log.layout.LoggerLayout; + +/** + * Appender for file. The appender can keep log files in custom days(Default 7 + * days). If current log file's size is out of custom max size(Default 10MB), it + * will create the new one.
+ * Example: + * + *
+ *  logd.appender.FILE=FileDateSizeAppender
+ *  logd.appender.FILE.layout=PatternLayout
+ *  logd.appender.FILE.layout.pattern=%d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
+ *  logd.appender.FILE.fileName=${user.dir}/log_${Dyyyy_MM_dd_HH_mm_ss_SS}.txt
+ *  logd.appender.FILE.buffered=true
+ *  logd.appender.FILE.maxSize=10485760
+ *  logd.appender.FILE.keepDay=7
+ * 
+ * + * FileDateSizeAppender.java + * + * @see FileAppender + * @see StreamAppender + * @see Appender + * @version 1.0.0 + * @author Liu lihua + */ +public class FileDateSizeAppender extends FileAppender +{ + + /** + * Max log file size + */ + private long maxSize = 10485760L; + + /** + * Keep custom days. + */ + private int keepDay = 7; + + public FileDateSizeAppender() + { + } + + public FileDateSizeAppender(LoggerLayout layout) + { + super(layout); + } + + public FileDateSizeAppender(OutputStream outStream) + { + super(outStream); + } + + public FileDateSizeAppender(LoggerLayout layout, OutputStream outStream) + { + super(layout, outStream); + } + + /** + * {@inheritDoc} + */ + @Override + public void activateHandler() + { + super.activateHandler(); + } + + /** + * {@inheritDoc} + */ + @Override + protected void expandAppend(LogMessage msg, String log) throws Exception + { + RecordOutputStream ros = (RecordOutputStream) getOutStream(); + if (ros != null) + { + long size = ros.getCount(); + if (size > maxSize) + { + closeStream(); + try + { + createFile(fileName, fileAppend, buffered, bufferSize); + } + catch (IOException e) + { + Kernel.logError("File date size appender create file " + + fileName + " failed."); + } + } + } + } + + /** + * {@inheritDoc} + */ + @Override + public OutputStream expandOutStream(String path, OutputStream outStream) + { + OutputStream out = super.expandOutStream(path, outStream); + File file = new File(path); + cleanOutDateFile(file.getParentFile()); + long initSize = file.exists() ? file.length() : 0; + return new RecordOutputStream(out, initSize); + } + + private void cleanOutDateFile(File dir) + { + long curTime = System.currentTimeMillis(); + File[] files = dir.listFiles(); + if (files == null || files.length == 0) + { + return; + } + int keepTime = keepDay * 24 * 60 * 60 * 1000; + for (File file : files) + { + if (file.isFile() && curTime - file.lastModified() > keepTime) + { + System.out.println("clear " + file); + file.delete(); + } + } + } + + public long getMaxSize() + { + return maxSize; + } + + public void setMaxSize(long maxSize) + { + this.maxSize = maxSize; + } + + public int getKeepDay() + { + return keepDay; + } + + public void setKeepDay(int keepDay) + { + this.keepDay = keepDay; + } + +} diff --git a/src/darks/log/appender/impl/StreamAppender.java b/src/darks/log/appender/impl/StreamAppender.java index 0e1e8f7..a846a94 100644 --- a/src/darks/log/appender/impl/StreamAppender.java +++ b/src/darks/log/appender/impl/StreamAppender.java @@ -1,317 +1,317 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log.appender.impl; - -import java.io.ByteArrayOutputStream; -import java.io.DataOutputStream; -import java.io.IOException; -import java.io.OutputStream; - -import darks.log.LogMessage; -import darks.log.appender.Appender; -import darks.log.layout.LoggerLayout; -import darks.log.utils.IoUtils; - -/** - * Appender for stream. The appender wiil output log message to stream. You - * cannot use StreamAppender directly in logd.properties.
- * Example: - * - *
- * public class CustomAppender extends StreamAppender
- * {
- *     @Override
- *      public void activateHandler()
- *      {
- *          ...
- *      }
- * 
- *     @Override
- *      protected void expandAppend(LogMessage msg, String log) throws Exception
- *      {
- *          ...
- *      }
- * }
- * 
- * - * StreamAppender.java - * - * @see Appender - * @version 1.0.0 - * @author Liu lihua - */ -public class StreamAppender extends Appender -{ - - /** - * Write log string to stream - */ - public static final int TYPE_LOG_STRING = 0; - - public static final String STYPE_LOG_STRING = "string"; - - /** - * Write log message object with pattern if you have setted 'needPattern' - */ - public static final int TYPE_LOG_OBJECT = 1; - - public static final String STYPE_LOG_OBJECT = "object"; - - /** - * Head reserve bytes - */ - private static final int BUF_SIZE_RESERVE = 6; - - /** - * Whether flush stream immediately - */ - boolean immediateFlush = false; - - /** - * Whether wrap log message with head bytes. - */ - boolean wrapBytes = false; - - /** - * Meesage output type. Such as TYPE_LOG_STRING and TYPE_LOG_OBJECT. - */ - int msgType = TYPE_LOG_STRING; - - /** - * Encoding character - */ - String encoding; - - /** - * Bytes stream use LITTLE-ENDIAN - */ - boolean littleEndian = false; - - static byte[] headIdentify = new byte[] { (byte) 0xFB, (byte) 0xFA }; - - OutputStream outStream; - - public StreamAppender() - { - } - - public StreamAppender(LoggerLayout layout) - { - super(layout); - } - - public StreamAppender(OutputStream outStream) - { - this.outStream = outStream; - } - - public StreamAppender(LoggerLayout layout, OutputStream outStream) - { - super(layout); - this.outStream = outStream; - } - - /** - * {@inheritDoc} - */ - @Override - public void append(LogMessage msg, String log) throws Exception - { - if (outStream == null) - { - return; - } - - byte[] data = null; - switch (msgType) - { - case TYPE_LOG_OBJECT: - data = IoUtils.getObjectBytes(msg); - break; - default: - data = getThrowMessage(log, msg.getThrowableInfo().getThrowable()) - .getBytes(); - break; - } - if (wrapBytes) - { - data = wrapMessage(data); - } - outStream.write(data); - if (isImmediateFlush()) - { - outStream.flush(); - } - expandAppend(msg, log); - } - - /** - * Expand handler after append - * - * @param msg Log message object - * @param log Log string - * @throws Exception Exception information - */ - protected void expandAppend(LogMessage msg, String log) throws Exception - { - - } - - /** - * Wrap message with head bytes and message total length. - * - * @param bytes Bytes array - * @return Bytes array - * @throws IOException IO exception object - */ - private byte[] wrapMessage(byte[] bytes) throws IOException - { - if (bytes == null) - { - return null; - } - int length = bytes.length; - ByteArrayOutputStream baos = new ByteArrayOutputStream(length - + BUF_SIZE_RESERVE); - DataOutputStream dos = null; - try - { - dos = new DataOutputStream(baos); - dos.write(headIdentify); - writeIntByEndian(dos, length); - dos.write(bytes); - dos.flush(); - } - finally - { - IoUtils.closeIO(dos); - } - return baos.toByteArray(); - } - - private void writeIntByEndian(DataOutputStream out, int v) - throws IOException - { - if (littleEndian) - { - out.write((v >>> 0) & 0xFF); - out.write((v >>> 8) & 0xFF); - out.write((v >>> 16) & 0xFF); - out.write((v >>> 24) & 0xFF); - } - else - { - out.write((v >>> 24) & 0xFF); - out.write((v >>> 16) & 0xFF); - out.write((v >>> 8) & 0xFF); - out.write((v >>> 0) & 0xFF); - } - } - - /** - * {@inheritDoc} - */ - @Override - public boolean needPattern() - { - return true; - } - - public boolean isImmediateFlush() - { - return immediateFlush; - } - - public void setImmediateFlush(boolean immediateFlush) - { - this.immediateFlush = immediateFlush; - } - - public boolean isWrapBytes() - { - return wrapBytes; - } - - public void setWrapBytes(boolean wrapBytes) - { - this.wrapBytes = wrapBytes; - } - - public int getMsgType() - { - return msgType; - } - - public void setMsgType(String strMsgType) - { - if (strMsgType != null && !strMsgType.trim().isEmpty()) - { - strMsgType = strMsgType.trim(); - if (STYPE_LOG_STRING.equalsIgnoreCase(strMsgType)) - { - msgType = TYPE_LOG_STRING; - } - else if (STYPE_LOG_OBJECT.equalsIgnoreCase(strMsgType)) - { - msgType = TYPE_LOG_OBJECT; - } - } - } - - public void closeStream() - { - IoUtils.closeIO(outStream); - outStream = null; - } - - public String getEncoding() - { - return encoding; - } - - public void setEncoding(String encoding) - { - this.encoding = encoding; - } - - public boolean isLittleEndian() - { - return littleEndian; - } - - public void setLittleEndian(boolean littleEndian) - { - this.littleEndian = littleEndian; - } - - public void setOutStream(OutputStream outStream) - { - if (this.outStream != null) - { - IoUtils.closeIO(this.outStream); - this.outStream = null; - } - this.outStream = outStream; - } - - public OutputStream getOutStream() - { - return outStream; - } - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log.appender.impl; + +import java.io.ByteArrayOutputStream; +import java.io.DataOutputStream; +import java.io.IOException; +import java.io.OutputStream; + +import darks.log.LogMessage; +import darks.log.appender.Appender; +import darks.log.layout.LoggerLayout; +import darks.log.utils.IoUtils; + +/** + * Appender for stream. The appender will output log message to stream. You + * cannot use StreamAppender directly in logd.properties.
+ * Example: + * + *
+ * public class CustomAppender extends StreamAppender
+ * {
+ *     @Override
+ *      public void activateHandler()
+ *      {
+ *          ...
+ *      }
+ * 
+ *     @Override
+ *      protected void expandAppend(LogMessage msg, String log) throws Exception
+ *      {
+ *          ...
+ *      }
+ * }
+ * 
+ * + * StreamAppender.java + * + * @see Appender + * @version 1.0.0 + * @author Liu lihua + */ +public class StreamAppender extends Appender +{ + + /** + * Write log string to stream + */ + public static final int TYPE_LOG_STRING = 0; + + public static final String STYPE_LOG_STRING = "string"; + + /** + * Write log message object with pattern if you have setted 'needPattern' + */ + public static final int TYPE_LOG_OBJECT = 1; + + public static final String STYPE_LOG_OBJECT = "object"; + + /** + * Head reserve bytes + */ + private static final int BUF_SIZE_RESERVE = 6; + + /** + * Whether flush stream immediately + */ + boolean immediateFlush = false; + + /** + * Whether wrap log message with head bytes. + */ + boolean wrapBytes = false; + + /** + * Meesage output type. Such as TYPE_LOG_STRING and TYPE_LOG_OBJECT. + */ + int msgType = TYPE_LOG_STRING; + + /** + * Encoding character + */ + String encoding; + + /** + * Bytes stream use LITTLE-ENDIAN + */ + boolean littleEndian = false; + + static byte[] headIdentify = new byte[] { (byte) 0xFB, (byte) 0xFA }; + + OutputStream outStream; + + public StreamAppender() + { + } + + public StreamAppender(LoggerLayout layout) + { + super(layout); + } + + public StreamAppender(OutputStream outStream) + { + this.outStream = outStream; + } + + public StreamAppender(LoggerLayout layout, OutputStream outStream) + { + super(layout); + this.outStream = outStream; + } + + /** + * {@inheritDoc} + */ + @Override + public void append(LogMessage msg, String log) throws Exception + { + if (outStream == null) + { + return; + } + + byte[] data = null; + switch (msgType) + { + case TYPE_LOG_OBJECT: + data = IoUtils.getObjectBytes(msg); + break; + default: + data = getThrowMessage(log, msg.getThrowableInfo().getThrowable()) + .getBytes(); + break; + } + if (wrapBytes) + { + data = wrapMessage(data); + } + outStream.write(data); + if (isImmediateFlush()) + { + outStream.flush(); + } + expandAppend(msg, log); + } + + /** + * Expand handler after append + * + * @param msg Log message object + * @param log Log string + * @throws Exception Exception information + */ + protected void expandAppend(LogMessage msg, String log) throws Exception + { + + } + + /** + * Wrap message with head bytes and message total length. + * + * @param bytes Bytes array + * @return Bytes array + * @throws IOException IO exception object + */ + private byte[] wrapMessage(byte[] bytes) throws IOException + { + if (bytes == null) + { + return null; + } + int length = bytes.length; + ByteArrayOutputStream baos = new ByteArrayOutputStream(length + + BUF_SIZE_RESERVE); + DataOutputStream dos = null; + try + { + dos = new DataOutputStream(baos); + dos.write(headIdentify); + writeIntByEndian(dos, length); + dos.write(bytes); + dos.flush(); + } + finally + { + IoUtils.closeIO(dos); + } + return baos.toByteArray(); + } + + private void writeIntByEndian(DataOutputStream out, int v) + throws IOException + { + if (littleEndian) + { + out.write((v >>> 0) & 0xFF); + out.write((v >>> 8) & 0xFF); + out.write((v >>> 16) & 0xFF); + out.write((v >>> 24) & 0xFF); + } + else + { + out.write((v >>> 24) & 0xFF); + out.write((v >>> 16) & 0xFF); + out.write((v >>> 8) & 0xFF); + out.write((v >>> 0) & 0xFF); + } + } + + /** + * {@inheritDoc} + */ + @Override + public boolean needPattern() + { + return true; + } + + public boolean isImmediateFlush() + { + return immediateFlush; + } + + public void setImmediateFlush(boolean immediateFlush) + { + this.immediateFlush = immediateFlush; + } + + public boolean isWrapBytes() + { + return wrapBytes; + } + + public void setWrapBytes(boolean wrapBytes) + { + this.wrapBytes = wrapBytes; + } + + public int getMsgType() + { + return msgType; + } + + public void setMsgType(String strMsgType) + { + if (strMsgType != null && !strMsgType.trim().isEmpty()) + { + strMsgType = strMsgType.trim(); + if (STYPE_LOG_STRING.equalsIgnoreCase(strMsgType)) + { + msgType = TYPE_LOG_STRING; + } + else if (STYPE_LOG_OBJECT.equalsIgnoreCase(strMsgType)) + { + msgType = TYPE_LOG_OBJECT; + } + } + } + + public void closeStream() + { + IoUtils.closeIO(outStream); + outStream = null; + } + + public String getEncoding() + { + return encoding; + } + + public void setEncoding(String encoding) + { + this.encoding = encoding; + } + + public boolean isLittleEndian() + { + return littleEndian; + } + + public void setLittleEndian(boolean littleEndian) + { + this.littleEndian = littleEndian; + } + + public void setOutStream(OutputStream outStream) + { + if (this.outStream != null) + { + IoUtils.closeIO(this.outStream); + this.outStream = null; + } + this.outStream = outStream; + } + + public OutputStream getOutStream() + { + return outStream; + } + +} diff --git a/src/darks/log/filter/LoggerFilter.java b/src/darks/log/filter/LoggerFilter.java index 1eceec6..ff5c62c 100644 --- a/src/darks/log/filter/LoggerFilter.java +++ b/src/darks/log/filter/LoggerFilter.java @@ -1,83 +1,94 @@ -/** - * - *Copyright 2014 The Darks Logs Project (Liu lihua) - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log.filter; - -import darks.log.LogMessage; - -/** - * Filter will decide whether allow output log message. - * - * LoggerFilter.java - * - * @version 1.0.0 - * @author Liu lihua - */ -public abstract class LoggerFilter -{ - - public static final int ALLOW = 1; - - public static final int DENY = -1; - - /** - * Whether use filter setting.If false, the filter will be invalid. - */ - private boolean accept = false; - - public LoggerFilter() - { - } - - /** - * Filter message - * - * @param msg log message - * @return ALLOW or DENY - */ - public int filter(LogMessage msg) - { - if (!accept) - { - return ALLOW; - } - if (decide(msg) == ALLOW) - { - return ALLOW; - } - return DENY; - } - - /** - * Decide log message whether allow output. - * - * @param msg log message - * @return ALLOW or DENY - */ - public abstract int decide(LogMessage msg); - - public boolean isAccept() - { - return accept; - } - - public void setAccept(boolean accept) - { - this.accept = accept; - } - -} +/** + * + *Copyright 2014 The Darks Logs Project (Liu lihua) + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log.filter; + +import darks.log.LogMessage; + +/** + * Filter will decide whether allow output log message.
+ * Example: + *
+ * public class CustomFilter extends LoggerFilter
+ * {
+ *     public int decide(LogMessage msg)
+ *     {
+ *        ...
+ *        return ALLOW;
+ *     }
+ * }
+ * 
+ * + * LoggerFilter.java + * + * @version 1.0.0 + * @author Liu lihua + */ +public abstract class LoggerFilter +{ + + public static final int ALLOW = 1; + + public static final int DENY = -1; + + /** + * Whether use filter setting.If false, the filter will be invalid. + */ + private boolean accept = false; + + public LoggerFilter() + { + } + + /** + * Filter message + * + * @param msg log message + * @return ALLOW or DENY + */ + public int filter(LogMessage msg) + { + if (!accept) + { + return ALLOW; + } + if (decide(msg) == ALLOW) + { + return ALLOW; + } + return DENY; + } + + /** + * Decide log message whether allow output. + * + * @param msg log message + * @return ALLOW or DENY + */ + public abstract int decide(LogMessage msg); + + public boolean isAccept() + { + return accept; + } + + public void setAccept(boolean accept) + { + this.accept = accept; + } + +} diff --git a/src/darks/log/loader/Loader.java b/src/darks/log/loader/Loader.java index 0ecb2f1..fe0897b 100644 --- a/src/darks/log/loader/Loader.java +++ b/src/darks/log/loader/Loader.java @@ -1,57 +1,56 @@ -/** - * - *Copyright 2014 The Darks Logs Project - * - *Licensed under the Apache License, Version 2.0 (the "License"); - *you may not use this file except in compliance with the License. - *You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - *Unless required by applicable law or agreed to in writing, software - *distributed under the License is distributed on an "AS IS" BASIS, - *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - *See the License for the specific language governing permissions and - *limitations under the License. - */ - -package darks.log.loader; - -import java.io.InputStream; - -/** - * Loader.java - * - * @version 1.0.0 - * @author Liu lihua 2014-2-18 - */ -public abstract class Loader -{ - - protected InputStream inputStream; - - public Loader(InputStream ins) - { - this.inputStream = ins; - } - - /** - * Load config - * - * @param ins Config input stream - * @return If succeed to load config, return true. - */ - public abstract boolean loadConfig(); - - public InputStream getInputStream() - { - return inputStream; - } - - public void setInputStream(InputStream inputStream) - { - this.inputStream = inputStream; - } - - -} +/** + * + *Copyright 2014 The Darks Logs Project + * + *Licensed under the Apache License, Version 2.0 (the "License"); + *you may not use this file except in compliance with the License. + *You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + *Unless required by applicable law or agreed to in writing, software + *distributed under the License is distributed on an "AS IS" BASIS, + *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + *See the License for the specific language governing permissions and + *limitations under the License. + */ + +package darks.log.loader; + +import java.io.InputStream; + +/** + * Loader.java + * + * @version 1.0.0 + * @author Liu lihua 2014-2-18 + */ +public abstract class Loader +{ + + protected InputStream inputStream; + + public Loader(InputStream ins) + { + this.inputStream = ins; + } + + /** + * Load config + * + * @return If succeed to load config, return true. + */ + public abstract boolean loadConfig(); + + public InputStream getInputStream() + { + return inputStream; + } + + public void setInputStream(InputStream inputStream) + { + this.inputStream = inputStream; + } + + +}