Class: UnitF::Logging::Writer
- Inherits:
-
Logger
- Object
- Logger
- UnitF::Logging::Writer
- Defined in:
- lib/unitf/logging/writer.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(file, max_files: 3, max_size: 1024000, name: 'none') ⇒ Writer
constructor
A new instance of Writer.
Constructor Details
#initialize(file, max_files: 3, max_size: 1024000, name: 'none') ⇒ Writer
Returns a new instance of Writer.
9 10 11 12 |
# File 'lib/unitf/logging/writer.rb', line 9 def initialize(file, max_files: 3, max_size: 1024000, name: 'none') super(file, max_files, max_size) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/unitf/logging/writer.rb', line 7 def name @name end |