Module: TaskTempest

Defined in:
lib/task_tempest.rb,
lib/task_tempest/task.rb,
lib/task_tempest/engine.rb,
lib/task_tempest/producer.rb,
lib/task_tempest/settings.rb,
lib/task_tempest/bootstrap.rb,
lib/task_tempest/callbacks.rb,
lib/task_tempest/bookkeeper.rb,
lib/task_tempest/dispatcher.rb,
lib/task_tempest/task_logger.rb,
lib/task_tempest/error_handling.rb

Defined Under Namespace

Modules: Bootstrap, Callbacks, ErrorHandling, Settings Classes: Bookkeeper, Dispatcher, Engine, Producer, Task, TaskLogger

Constant Summary collapse

LogFormatter =
Proc.new do |severity, time, progname, message|
  message = message.call if message.respond_to?(:call)
  time = time.strftime("%Y/%m/%d %H:%M:%S")
  sprintf("%s [%s] %s\n", time, severity, message)
end