Sha256: c359c0a1edb304d33f4a6bac5f7e02665f353dda8450668817a474e896c51cca

Contents?: true

Size: 1.21 KB

Versions: 8

Compression:

Stored size: 1.21 KB

Contents

purpose    : TestA
description: This is the 1st YAML doc
say        : Hi

---
# *** YAML2LOGGING ***
logging_config:
  # define all pre config ...
  pre_config:
    define_levels:
      - DEB
      - INF
      - PRT
      - WRN
      - ERR
      - FAT
    format_as   : inspect
    root:
      level     : WRN

  # define all loggers ...
  loggers:
    - name      : mylogger
      level     : DEB
      additive  : false
      trace     : false      
      appenders:
        - stderr
        - logfile 

    - name      : yourlogger
      level     : INF 
      appenders: 
        - stderr
        - logfile 

  # define all appenders (incl. layouts)      
  appenders:
    - type          : Stderr
      name          : stderr 
      level         : DEB
      layout:
        type        : Basic
        format_as   : string

    - type          : File
      name          : logfile
      level         : DEB
      filename      : 'temp.log'
      truncate      : true
      layout:
        type        : Pattern
        date_method : to_s
        pattern     : '[%d] %l  %c : %m\n'
  
---
purpose    : TestB
description: This is the last YAML doc
say        : Bye


# EOF  

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
logging-0.2.0 examples/logging.yaml
logging-0.3.0 examples/logging.yaml
logging-0.3.1 examples/logging.yaml
logging-0.5.1 data/logging.yaml
logging-0.5.2 data/logging.yaml
logging-0.4.0 examples/logging.yaml
logging-0.5.0 data/logging.yaml
logging-0.5.3 data/logging.yaml