Module: Aliyun::OSS::Logging::Management
- Defined in:
- lib/aliyun/oss/logging.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(klass) ⇒ Object
:nodoc:.
Instance Method Summary collapse
- #disable_logging(*args) ⇒ Object
- #enable_logging(*args) ⇒ Object
- #logging_enabled? ⇒ Boolean
- #logging_status ⇒ Object
- #logs(options = {}) ⇒ Object
Class Method Details
.included(klass) ⇒ Object
:nodoc:
218 219 220 |
# File 'lib/aliyun/oss/logging.rb', line 218 def self.included(klass) #:nodoc: klass.extend(ClassMethods) end |
Instance Method Details
#disable_logging(*args) ⇒ Object
290 291 292 |
# File 'lib/aliyun/oss/logging.rb', line 290 def disable_logging(*args) self.class.disable_logging_for(name, *args) end |
#enable_logging(*args) ⇒ Object
286 287 288 |
# File 'lib/aliyun/oss/logging.rb', line 286 def enable_logging(*args) self.class.enable_logging_for(name, *args) end |
#logging_enabled? ⇒ Boolean
294 295 296 |
# File 'lib/aliyun/oss/logging.rb', line 294 def logging_enabled? self.class.logging_enabled_for?(name) end |
#logging_status ⇒ Object
282 283 284 |
# File 'lib/aliyun/oss/logging.rb', line 282 def logging_status self.class.logging_status_for(name) end |
#logs(options = {}) ⇒ Object
298 299 300 |
# File 'lib/aliyun/oss/logging.rb', line 298 def logs( = {}) self.class.logs_for(name, ) end |