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.logAppender 的使用
-  -

- - - - - - - - - - - - - - - - - -
返回变量类型为 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() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
参数类型为 Appenderdarks.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.appenderAppender 的使用
-  -

- - - - - - - - - -
返回 Appenderdarks.log.appender 中的方法
-static AppenderAppenderManager.getAppender(java.lang.String name) - -
-          Get appender object by appender name
-  -

- - - - - - - - - -
参数类型为 Appenderdarks.log.appender 中的方法
-static voidAppenderManager.registerAppender(Appender appender) - -
-          Register appender.
-  -

- - - - - -
-darks.log.appender.implAppender 的使用
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
darks.log.appender.implAppender 的子类
- 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.logAppender 的使用
+  +

+ + + + + + + + + + + + + + + + + +
返回变量类型为 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() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
参数类型为 Appenderdarks.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.appenderAppender 的使用
+  +

+ + + + + + + + + +
返回 Appenderdarks.log.appender 中的方法
+static AppenderAppenderManager.getAppender(java.lang.String name) + +
+          Get appender object by appender name
+  +

+ + + + + + + + + +
参数类型为 Appenderdarks.log.appender 中的方法
+static voidAppenderManager.registerAppender(Appender appender) + +
+          Register appender.
+  +

+ + + + + +
+darks.log.appender.implAppender 的使用
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
darks.log.appender.implAppender 的子类
+ 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.implFileAppender 的使用
-  -

- - - - - - - - - -
darks.log.appender.implFileAppender 的子类
- classFileDateSizeAppender - -
-          Appender for file.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.appender.impl.FileAppender 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.appender.impl.FileAppender
的使用

+
+ + + + + + + + + +
+使用 FileAppender 的软件包
darks.log.appender.impl  
+  +

+ + + + + +
+darks.log.appender.implFileAppender 的使用
+  +

+ + + + + + + + + +
darks.log.appender.implFileAppender 的子类
+ 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.implStreamAppender 的使用
-  -

- - - - - - - - - - - - - - - - - -
darks.log.appender.implStreamAppender 的子类
- 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.implStreamAppender 的使用
+  +

+ + + + + + + + + + + + + + + + + +
darks.log.appender.implStreamAppender 的子类
+ 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.logAndroidConfig 的使用
-  -

- - - - - - - - - -
声明为 AndroidConfigdarks.log 中的字段
-static AndroidConfigLogger.Android - -
-          Android configration
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.AndroidConfig 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.AndroidConfig
的使用

+
+ + + + + + + + + +
+使用 AndroidConfig 的软件包
darks.log  
+  +

+ + + + + +
+darks.logAndroidConfig 的使用
+  +

+ + + + + + + + + +
声明为 AndroidConfigdarks.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.logCategory 的使用
-  -

- - - - - - - - - - - - - - - - - - - - - -
返回 Categorydarks.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() - -
-           
-  -

- - - - - - - - - - - - - - - - - - - - - -
参数类型为 Categorydarks.log 中的方法
- voidLoggerConfig.addCategory(Category category) - -
-          Add category object
- voidLogMessage.setCategory(Category category) - -
-           
- voidCategory.setParent(Category parent) - -
-           
- voidLoggerConfig.setRoot(Category root) - -
-           
-  -

- - - - - - - - - - - -
参数类型为 Categorydarks.log 中的构造方法
Category(Category parent) - -
-           
DefaultLogger(Category category, - java.lang.String tag) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.Category 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.Category
的使用

+
+ + + + + + + + + +
+使用 Category 的软件包
darks.log  
+  +

+ + + + + +
+darks.logCategory 的使用
+  +

+ + + + + + + + + + + + + + + + + + + + + +
返回 Categorydarks.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() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
参数类型为 Categorydarks.log 中的方法
+ voidLoggerConfig.addCategory(Category category) + +
+          Add category object
+ voidLogMessage.setCategory(Category category) + +
+           
+ voidCategory.setParent(Category parent) + +
+           
+ voidLoggerConfig.setRoot(Category root) + +
+           
+  +

+ + + + + + + + + + + +
参数类型为 Categorydarks.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.logLevel 的使用
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
声明为 Leveldarks.log 中的字段
-static LevelLevel.DEBUG - -
-           
-static LevelLevel.ERROR - -
-           
-static LevelLevel.INFO - -
-           
-static LevelLevel.TRACE - -
-           
-static LevelLevel.VERBOSE - -
-           
-static LevelLevel.WARN - -
-           
-  -

- - - - - - - - - - - - - - - - - -
返回 Leveldarks.log 中的方法
- LevelCategory.getLevel() - -
-           
- LevelLogMessage.getLevel() - -
-           
-static LevelLevel.getLevel(java.lang.String key) - -
-          Get level object by level name as key word
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
参数类型为 Leveldarks.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.filterLevel 的使用
-  -

- - - - - - - - - - - - - -
返回 Leveldarks.log.filter 中的方法
- LevelLevelRangeFilter.getLevelMax() - -
-           
- LevelLevelRangeFilter.getLevelMin() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.Level 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.Level
的使用

+
+ + + + + + + + + + + + + +
+使用 Level 的软件包
darks.log  
darks.log.filter  
+  +

+ + + + + +
+darks.logLevel 的使用
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
声明为 Leveldarks.log 中的字段
+static LevelLevel.DEBUG + +
+           
+static LevelLevel.ERROR + +
+           
+static LevelLevel.INFO + +
+           
+static LevelLevel.TRACE + +
+           
+static LevelLevel.VERBOSE + +
+           
+static LevelLevel.WARN + +
+           
+  +

+ + + + + + + + + + + + + + + + + +
返回 Leveldarks.log 中的方法
+ LevelCategory.getLevel() + +
+           
+ LevelLogMessage.getLevel() + +
+           
+static LevelLevel.getLevel(java.lang.String key) + +
+          Get level object by level name as key word
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
参数类型为 Leveldarks.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.filterLevel 的使用
+  +

+ + + + + + + + + + + + + +
返回 Leveldarks.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.logLogMessage 的使用
-  -

- - - - - - - - - -
返回 LogMessagedarks.log 中的方法
- LogMessageLoggerHolder.getMsg() - -
-           
-  -

- - - - - - - - - -
参数类型为 LogMessagedarks.log 中的方法
- voidLoggerHolder.setMsg(LogMessage msg) - -
-           
-  -

- - - - - - - - -
参数类型为 LogMessagedarks.log 中的构造方法
LoggerHolder(LogMessage msg) - -
-           
-  -

- - - - - -
-darks.log.appenderLogMessage 的使用
-  -

- - - - - - - - - - - - - -
参数类型为 LogMessagedarks.log.appender 中的方法
-abstract  voidAppender.append(LogMessage msg, - java.lang.String log) - -
-          Append log message
- voidAppender.doAppend(LogMessage msg) - -
-          Handle log message
-  -

- - - - - -
-darks.log.appender.implLogMessage 的使用
-  -

- - - - - - - - - - - - - - - - - - - - - -
参数类型为 LogMessagedarks.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.filterLogMessage 的使用
-  -

- - - - - - - - - - - - - - - - - -
参数类型为 LogMessagedarks.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.layoutLogMessage 的使用
-  -

- - - - - - - - - - - - - - - - - -
参数类型为 LogMessagedarks.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.patternLogMessage 的使用
-  -

- - - - - - - - - - - - - -
参数类型为 LogMessagedarks.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.parserLogMessage 的使用
-  -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
参数类型为 LogMessagedarks.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.logLogMessage 的使用
+  +

+ + + + + + + + + +
返回 LogMessagedarks.log 中的方法
+ LogMessageLoggerHolder.getMsg() + +
+           
+  +

+ + + + + + + + + +
参数类型为 LogMessagedarks.log 中的方法
+ voidLoggerHolder.setMsg(LogMessage msg) + +
+           
+  +

+ + + + + + + + +
参数类型为 LogMessagedarks.log 中的构造方法
LoggerHolder(LogMessage msg) + +
+           
+  +

+ + + + + +
+darks.log.appenderLogMessage 的使用
+  +

+ + + + + + + + + + + + + +
参数类型为 LogMessagedarks.log.appender 中的方法
+abstract  voidAppender.append(LogMessage msg, + java.lang.String log) + +
+          Append log message
+ voidAppender.doAppend(LogMessage msg) + +
+          Handle log message
+  +

+ + + + + +
+darks.log.appender.implLogMessage 的使用
+  +

+ + + + + + + + + + + + + + + + + + + + + +
参数类型为 LogMessagedarks.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.filterLogMessage 的使用
+  +

+ + + + + + + + + + + + + + + + + +
参数类型为 LogMessagedarks.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.layoutLogMessage 的使用
+  +

+ + + + + + + + + + + + + + + + + +
参数类型为 LogMessagedarks.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.patternLogMessage 的使用
+  +

+ + + + + + + + + + + + + +
参数类型为 LogMessagedarks.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.parserLogMessage 的使用
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
参数类型为 LogMessagedarks.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.logLogger 的使用
-  -

- - - - - - - - + + + + + +
darks.logLogger 的子类
- classDefaultLogger - -
+ + + + + + +类 darks.log.Logger 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.Logger
的使用

+
+ + + + + + + + + +
+使用 Logger 的软件包
darks.log  
+  +

+ + + + + +
+darks.logLogger 的使用
+  +

+ + + + + + + + - - - - - -
darks.logLogger 的子类
+ classDefaultLogger + +
          Default logger object used to log message and do appenders by default - DefaultLogger.java
- classInvalidLogger - -
-          Indicate log is invalid.
-  -

- - - - - - - - - - - - - - - - - -
返回 Loggerdarks.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.
+  +

+ + + + + + + + + + + + + + + + + +
返回 Loggerdarks.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.logLoggerConfig 的使用
-  -

- - - - - - - - - -
返回 LoggerConfigdarks.log 中的方法
-static LoggerConfigLogger.getConfig() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.LoggerConfig 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.LoggerConfig
的使用

+
+ + + + + + + + + +
+使用 LoggerConfig 的软件包
darks.log  
+  +

+ + + + + +
+darks.logLoggerConfig 的使用
+  +

+ + + + + + + + + +
返回 LoggerConfigdarks.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.logLoggerHolder 的使用
-  -

- - - - - - - - - -
返回变量类型为 LoggerHolder 的类型的 darks.log 中的方法
-static java.util.Queue<LoggerHolder>LoggerThread.getHolders() - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.LoggerHolder 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.LoggerHolder
的使用

+
+ + + + + + + + + +
+使用 LoggerHolder 的软件包
darks.log  
+  +

+ + + + + +
+darks.logLoggerHolder 的使用
+  +

+ + + + + + + + + +
返回变量类型为 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.logThrowableInfo 的使用
-  -

- - - - - - - - - -
返回 ThrowableInfodarks.log 中的方法
- ThrowableInfoLogMessage.getThrowableInfo() - -
-           
-  -

- - - - - - - - - -
参数类型为 ThrowableInfodarks.log 中的方法
- voidLogMessage.setThrowableInfo(ThrowableInfo throwableInfo) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.ThrowableInfo 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.ThrowableInfo
的使用

+
+ + + + + + + + + +
+使用 ThrowableInfo 的软件包
darks.log  
+  +

+ + + + + +
+darks.logThrowableInfo 的使用
+  +

+ + + + + + + + + +
返回 ThrowableInfodarks.log 中的方法
+ ThrowableInfoLogMessage.getThrowableInfo() + +
+           
+  +

+ + + + + + + + + +
参数类型为 ThrowableInfodarks.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.exceptionsLogException 的使用
-  -

- - - - - - - - - - - - - -
darks.log.exceptionsLogException 的子类
- classConfigException - -
-          ConfigException.java
- classPatternException - -
-          PatternException.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.exceptions.LogException 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.exceptions.LogException
的使用

+
+ + + + + + + + + +
+使用 LogException 的软件包
darks.log.exceptions  
+  +

+ + + + + +
+darks.log.exceptionsLogException 的使用
+  +

+ + + + + + + + + + + + + +
darks.log.exceptionsLogException 的子类
+ 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.implFilePicker 的使用
-  -

- - - - - - - - - -
返回 FilePickerdarks.log.appender.impl 中的方法
- FilePickerFileAppender.getFilePicker() - -
-           
-  -

- - - - - - - - - -
参数类型为 FilePickerdarks.log.appender.impl 中的方法
- voidFileAppender.setFilePicker(FilePicker filePicker) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.externs.FilePicker 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.externs.FilePicker
的使用

+
+ + + + + + + + + +
+使用 FilePicker 的软件包
darks.log.appender.impl  
+  +

+ + + + + +
+darks.log.appender.implFilePicker 的使用
+  +

+ + + + + + + + + +
返回 FilePickerdarks.log.appender.impl 中的方法
+ FilePickerFileAppender.getFilePicker() + +
+           
+  +

+ + + + + + + + + +
参数类型为 FilePickerdarks.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.appenderLoggerFilter 的使用
-  -

- - - - - - - - - -
返回 LoggerFilterdarks.log.appender 中的方法
- LoggerFilterAppender.getFilter() - -
-           
-  -

- - - - - - - - - -
参数类型为 LoggerFilterdarks.log.appender 中的方法
- voidAppender.setFilter(LoggerFilter filter) - -
-           
-  -

- - - - - -
-darks.log.filterLoggerFilter 的使用
-  -

- - - - - - - - - -
darks.log.filterLoggerFilter 的子类
- 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.appenderLoggerFilter 的使用
+  +

+ + + + + + + + + +
返回 LoggerFilterdarks.log.appender 中的方法
+ LoggerFilterAppender.getFilter() + +
+           
+  +

+ + + + + + + + + +
参数类型为 LoggerFilterdarks.log.appender 中的方法
+ voidAppender.setFilter(LoggerFilter filter) + +
+           
+  +

+ + + + + +
+darks.log.filterLoggerFilter 的使用
+  +

+ + + + + + + + + +
darks.log.filterLoggerFilter 的子类
+ 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.kernelKernelLogger 的使用
-  -

- - - - - - - - - - - - - -
实现 KernelLoggerdarks.log.kernel 中的类
- classAndroidKernelLogger - -
-          AndroidKernelLogger.java
- classConsoleKernelLogger - -
-          ConsoleKernelLogger.java
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +接口 darks.log.kernel.KernelLogger 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+接口 darks.log.kernel.KernelLogger
的使用

+
+ + + + + + + + + +
+使用 KernelLogger 的软件包
darks.log.kernel  
+  +

+ + + + + +
+darks.log.kernelKernelLogger 的使用
+  +

+ + + + + + + + + + + + + +
实现 KernelLoggerdarks.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.appenderLoggerLayout 的使用
-  -

- - - - - - - - - -
返回 LoggerLayoutdarks.log.appender 中的方法
- LoggerLayoutAppender.getLayout() - -
-           
-  -

- - - - - - - - - -
参数类型为 LoggerLayoutdarks.log.appender 中的方法
- voidAppender.setLayout(LoggerLayout layout) - -
-           
-  -

- - - - - - - - -
参数类型为 LoggerLayoutdarks.log.appender 中的构造方法
Appender(LoggerLayout layout) - -
-           
-  -

- - - - - -
-darks.log.appender.implLoggerLayout 的使用
-  -

- - - - - - - - - - - - - - - - - - - - - - - -
参数类型为 LoggerLayoutdarks.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.layoutLoggerLayout 的使用
-  -

- - - - - - - - - - - - - -
darks.log.layoutLoggerLayout 的子类
- 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.appenderLoggerLayout 的使用
+  +

+ + + + + + + + + +
返回 LoggerLayoutdarks.log.appender 中的方法
+ LoggerLayoutAppender.getLayout() + +
+           
+  +

+ + + + + + + + + +
参数类型为 LoggerLayoutdarks.log.appender 中的方法
+ voidAppender.setLayout(LoggerLayout layout) + +
+           
+  +

+ + + + + + + + +
参数类型为 LoggerLayoutdarks.log.appender 中的构造方法
Appender(LoggerLayout layout) + +
+           
+  +

+ + + + + +
+darks.log.appender.implLoggerLayout 的使用
+  +

+ + + + + + + + + + + + + + + + + + + + + + + +
参数类型为 LoggerLayoutdarks.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.layoutLoggerLayout 的使用
+  +

+ + + + + + + + + + + + + +
darks.log.layoutLoggerLayout 的子类
+ 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.loaderLoader 的使用
-  -

- - - - - - - - - -
darks.log.loaderLoader 的子类
- classPropertiesLoader - -
-          Indicate to load config file from properties file.
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +类 darks.log.loader.Loader 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.loader.Loader
的使用

+
+ + + + + + + + + + + + + +
+使用 Loader 的软件包
darks.log  
darks.log.loader  
+  +

+ + + + + +
+darks.logLoader 的使用
+  +

+ + + + + + + + + +
返回 Loaderdarks.log 中的方法
+ LoaderAndroidConfig.getLoader() + +
+          Get loader or android environment
+  +

+ + + + + +
+darks.log.loaderLoader 的使用
+  +

+ + + + + + + + + +
darks.log.loaderLoader 的子类
+ classPropertiesLoader + +
+          Indicate to load config file from properties file.
+  +

+ + + + + + + + + +
返回 Loaderdarks.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.layoutConvertPattern 的使用
-  -

- - - - - - - - - -
返回 ConvertPatterndarks.log.layout 中的方法
- ConvertPatternLoggerLayout.getConvertor() - -
-           
-  -

- - - - - - - - - -
参数类型为 ConvertPatterndarks.log.layout 中的方法
- voidLoggerLayout.setConvertor(ConvertPattern convertor) - -
-           
-  -

- - - - - -
-darks.log.patternConvertPattern 的使用
-  -

- - - - - - - - - -
实现 ConvertPatterndarks.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.layoutConvertPattern 的使用
+  +

+ + + + + + + + + +
返回 ConvertPatterndarks.log.layout 中的方法
+ ConvertPatternLoggerLayout.getConvertor() + +
+           
+  +

+ + + + + + + + + +
参数类型为 ConvertPatterndarks.log.layout 中的方法
+ voidLoggerLayout.setConvertor(ConvertPattern convertor) + +
+           
+  +

+ + + + + +
+darks.log.patternConvertPattern 的使用
+  +

+ + + + + + + + + +
实现 ConvertPatterndarks.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.parserPatternConvertor 的使用
-  -

- - - - - - - - + +
darks.log.pattern.parserPatternConvertor 的子类
- classDatePatternConvertor - -
+ + + + + + +类 darks.log.pattern.parser.PatternConvertor 的使用 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+类 darks.log.pattern.parser.PatternConvertor
的使用

+
+ + + + + + + + + +
+使用 PatternConvertor 的软件包
darks.log.pattern.parser  
+  +

+ + + + + +
+darks.log.pattern.parserPatternConvertor 的使用
+  +

+ + + + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - -
darks.log.pattern.parserPatternConvertor 的子类
+ 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
-  -

- - - - - - - - - - - - - -
返回 PatternConvertordarks.log.pattern.parser 中的方法
- PatternConvertorPatternConvertor.getNext() - -
-           
- PatternConvertorPatternParser.parseConvertor() - -
-          Get PatternConvertor object
-  -

- - - - - - - - - -
参数类型为 PatternConvertordarks.log.pattern.parser 中的方法
- voidPatternConvertor.setNext(PatternConvertor next) - -
-           
-  -

-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + ThreadPatternConvertor.java
+  +

+ + + + + + + + + + + + + +
返回 PatternConvertordarks.log.pattern.parser 中的方法
+ PatternConvertorPatternConvertor.getNext() + +
+           
+ PatternConvertorPatternParser.parseConvertor() + +
+          Get PatternConvertor object
+  +

+ + + + + + + + + +
参数类型为 PatternConvertordarks.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.utilsDateFormater 的使用
-  -

- - - - - - - - - -
返回 DateFormaterdarks.log.utils 中的方法
-static DateFormaterTimeUtils.getFormatter(java.lang.String pattern) - -
-           
-  -

- - - - - -
-darks.log.utils.timeDateFormater 的使用
-  -

- - - - - - - - - - - - - -
darks.log.utils.timeDateFormater 的子类
- 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.utilsDateFormater 的使用
+  +

+ + + + + + + + + +
返回 DateFormaterdarks.log.utils 中的方法
+static DateFormaterTimeUtils.getFormatter(java.lang.String pattern) + +
+           
+  +

+ + + + + +
+darks.log.utils.timeDateFormater 的使用
+  +

+ + + + + + + + + + + + + +
darks.log.utils.timeDateFormater 的子类
+ 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 文档的首页,提供了所有软件包的列表及其摘要。此页面也可能包含这些软件包的总体描述。

-

-软件包

-
- -

-每个软件包都有一个页面,其中包含它的类和接口的列表及其摘要。此页面可以包含四个类别:

    -
  • 接口(斜体)
  • 枚举
  • 异常
  • 错误
  • 注释类型
-
-

-类/接口

-
- -

-每个类、接口、嵌套类和嵌套接口都有各自的页面。其中每个页面都由三部分(类/接口描述、摘要表,以及详细的成员描述)组成:

    -
  • 类继承图
  • 直接子类
  • 所有已知子接口
  • 所有已知实现类
  • 类/接口声明
  • 类/接口描述 -

    -

  • 嵌套类摘要
  • 字段摘要
  • 构造方法摘要
  • 方法摘要 -

    -

  • 字段详细信息
  • 构造方法详细信息
  • 方法详细信息
-每个摘要条目都包含该项目的详细描述的第一句。摘要条目按字母顺序排列,而详细描述则按其在源代码中出现的顺序排列。这样保持了程序员所建立的逻辑分组。
- -

-注释类型

-
- -

-每个注释类型都有各自的页面,其中包含以下部分:

    -
  • 注释类型声明
  • 注释类型描述
  • 必需元素摘要
  • 可选元素摘要
  • 元素详细信息
-
- -

-枚举

-
- -

-每个枚举都有各自的页面,其中包含以下部分:

    -
  • 枚举声明
  • 枚举描述
  • 枚举常量摘要
  • 枚举常量详细信息
-
-

-使用

-
-每个已文档化的软件包、类和接口都有各自的“使用”页面。此页面介绍了使用给定类或软件包的任何部分的软件包、类、方法、构造方法和字段。对于给定的类或接口 A,其“使用”页面包含 A 的子类、声明为 A 的字段、返回 A 的方法,以及带有类型为 A 的参数的方法和构造方法。访问此页面的方法是:首先转至软件包、类或接口,然后单击导航栏中的“使用”链接。
-

-树(类分层结构)

-
-对于所有软件包,有一个 类分层结构 页面,以及每个软件包的分层结构。每个分层结构页面都包含类的列表和接口的列表。从 java.lang.Object 开始,按继承结构对类进行排列。接口不从 java.lang.Object 继承。
    -
  • 查看“概述”页面时,单击“树”将显示所有软件包的分层结构。
  • 查看特定软件包、类或接口页面时,单击“树”将仅显示该软件包的分层结构。
-
-

-索引

-
-索引 包含按字母顺序排列的所有类、接口、构造方法、方法和字段的列表。
-

-上一个/下一个

-这些链接使您可以转至下一个或上一个类、接口、软件包或相关页面。

-框架/无框架

-这些链接用于显示和隐藏 HTML 框架。所有页面均具有有框架和无框架两种显示方式。 -

-

-序列化表格

-每个可序列化或可外部化的类都有其序列化字段和方法的描述。此信息对重新实现者有用,而对使用 API 的开发者则没有什么用处。尽管导航栏中没有链接,但您可以通过下列方式获取此信息:转至任何序列化类,然后单击类描述的“另请参见”部分中的“序列化表格”。 -

-

-常量字段值

-常量字段值页面列出了静态最终字段及其值。 -

- - -此帮助文件适用于使用标准 doclet 生成的 API 文档。 - -
-


- - - - - - - - - - - - - - - -
- -
- - - -
- - - + + + + + + +API 帮助 + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+此 API 文档的组织方式

+
+此 API(应用程序编程接口)文档包含对应于导航栏中的项目的页面,如下所述。

+概述

+
+ +

+概述 页面是此 API 文档的首页,提供了所有软件包的列表及其摘要。此页面也可能包含这些软件包的总体描述。

+

+软件包

+
+ +

+每个软件包都有一个页面,其中包含它的类和接口的列表及其摘要。此页面可以包含四个类别:

    +
  • 接口(斜体)
  • 枚举
  • 异常
  • 错误
  • 注释类型
+
+

+类/接口

+
+ +

+每个类、接口、嵌套类和嵌套接口都有各自的页面。其中每个页面都由三部分(类/接口描述、摘要表,以及详细的成员描述)组成:

    +
  • 类继承图
  • 直接子类
  • 所有已知子接口
  • 所有已知实现类
  • 类/接口声明
  • 类/接口描述 +

    +

  • 嵌套类摘要
  • 字段摘要
  • 构造方法摘要
  • 方法摘要 +

    +

  • 字段详细信息
  • 构造方法详细信息
  • 方法详细信息
+每个摘要条目都包含该项目的详细描述的第一句。摘要条目按字母顺序排列,而详细描述则按其在源代码中出现的顺序排列。这样保持了程序员所建立的逻辑分组。
+ +

+注释类型

+
+ +

+每个注释类型都有各自的页面,其中包含以下部分:

    +
  • 注释类型声明
  • 注释类型描述
  • 必需元素摘要
  • 可选元素摘要
  • 元素详细信息
+
+ +

+枚举

+
+ +

+每个枚举都有各自的页面,其中包含以下部分:

    +
  • 枚举声明
  • 枚举描述
  • 枚举常量摘要
  • 枚举常量详细信息
+
+

+使用

+
+每个已文档化的软件包、类和接口都有各自的“使用”页面。此页面介绍了使用给定类或软件包的任何部分的软件包、类、方法、构造方法和字段。对于给定的类或接口 A,其“使用”页面包含 A 的子类、声明为 A 的字段、返回 A 的方法,以及带有类型为 A 的参数的方法和构造方法。访问此页面的方法是:首先转至软件包、类或接口,然后单击导航栏中的“使用”链接。
+

+树(类分层结构)

+
+对于所有软件包,有一个 类分层结构 页面,以及每个软件包的分层结构。每个分层结构页面都包含类的列表和接口的列表。从 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> -请使用框架功能查看此文档。如果看到此消息,则表明您使用的是不支持框架的 Web 客户机。 -<BR> -链接到<A HREF="overview-summary.html">非框架版本。</A> - - - + + + + + + +生成的文档(无标题) + + + + + + + + + + + +<H2> +框架警报</H2> + +<P> +请使用框架功能查看此文档。如果看到此消息,则表明您使用的是不支持框架的 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; + } + + +}