Class LongLivedProcessBinaryStoreWriterFactory

java.lang.Object
com.illumon.intradaylogger.LongLivedProcessBinaryStoreWriterFactory
All Implemented Interfaces:
IntradayLogger.TableWriterFactory

public class LongLivedProcessBinaryStoreWriterFactory extends Object implements IntradayLogger.TableWriterFactory
Extend the default factory to add date to the rolling format. The default factory only appends the time portion, the date is part of the static prefix. That breaks pretty badly since for processes that stay alive past midnight.
  • Constructor Details

    • LongLivedProcessBinaryStoreWriterFactory

      @Deprecated public LongLivedProcessBinaryStoreWriterFactory(String path)
      Deprecated.
      Parameters:
      path - path for the output log file.
    • LongLivedProcessBinaryStoreWriterFactory

      public LongLivedProcessBinaryStoreWriterFactory(String path, com.fishlib.io.logger.Logger log)
      Create a long lived binary store writer factory using the specified path. The binarystore.defaultversion property will be used to select the file format version.
      Parameters:
      path - path for the output log file.
      log - the Logger instance for errors.
    • LongLivedProcessBinaryStoreWriterFactory

      public LongLivedProcessBinaryStoreWriterFactory(String path, int version, com.fishlib.io.logger.Logger log)
      Create a long lived binary store writer factory using the specified path.
      Parameters:
      path - path for the output log file.
      version - the format for the binary store.
      log - the Logger instance for errors.
    • LongLivedProcessBinaryStoreWriterFactory

      public LongLivedProcessBinaryStoreWriterFactory(String path, int version, com.fishlib.io.logger.Logger log, String timeZoneName)
      Create a long lived binary store writer factory using the specified path and time zone name.
      Parameters:
      path - path for the output log file.
      version - the format for the binary store.
      log - the Logger instance for errors.
      timeZoneName - a valid time zone name, such as "America/New_York" or "Asia/Tokyo"
    • LongLivedProcessBinaryStoreWriterFactory

      public LongLivedProcessBinaryStoreWriterFactory(String path, int version, com.fishlib.io.logger.Logger log, TimeZone timeZone)
      Create a long lived binary store writer factory using the specified path and time zone.
      Parameters:
      path - path for the output log file.
      version - the format for the binary store.
      log - the Logger instance for errors.
      timeZone - the TimeZone to use for file names
  • Method Details