Class: Narou::ConcurrencyConvertLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/narou_logger.rb

Overview

同時実行時の変換側ロガー デフォルトロガーが出力中の間は標準出力には表示しない

Constant Summary

Constants included from LoggerModule

LoggerModule::LOG_FORMAT_FILENAME, LoggerModule::LOG_FORMAT_TIMESTAMP

Instance Attribute Summary collapse

Attributes included from LoggerModule

#capturing, #format_filename, #format_timestamp, #format_timestamp_disabled, #log_postfix, #logging_enabled, #stream

Instance Method Summary collapse

Methods inherited from Logger

#tty?, #write

Methods included from LoggerModule

#append_log, #capture, #copy_instance, #create_log_dir, #disable_logging, #dup_with_disabled_logging, #embed_timestamp, #error, included, #init_logs, #log_filename, #log_filepath, #logging?, #save, #silence, #silent=, #silent?, #strip_color, #warn, #write_base, #write_console

Constructor Details

#initializeConcurrencyConvertLogger

Returns a new instance of ConcurrencyConvertLogger.



274
275
276
277
278
# File 'lib/narou_logger.rb', line 274

def initialize
  super
  self.silent = true
  self.log_postfix = "_convert"
end

Instance Attribute Details

#end_with_new_lineObject

Returns the value of attribute end_with_new_line.



272
273
274
# File 'lib/narou_logger.rb', line 272

def end_with_new_line
  @end_with_new_line
end