Sha256: 572ecd0d32509cd097571646b653316b28e9870e5b0fe527b5786abcccaeec03

Contents?: true

Size: 971 Bytes

Versions: 12

Compression:

Stored size: 971 Bytes

Contents

<<<CHANGING_FORMAT>>> 
info-Object: message

<<<ONE_LOG_PER_CLASSES>>> 
- Only logging from within classes Ftp, Http and Sockets will be shown in output (no LogFoo):
Network::Ftp#foo
Network::Http#foo
Network::Sockets#foo

- Same result, but regex syntax:
Network::Ftp#foo
Network::Http#foo
Network::Sockets#foo

- Or even shorter:
Network::Ftp#foo
Network::Http#foo
Network::Sockets#foo

<<<ONE_TAG_PER_CLASSES>>> 
- Only logging from within classes Ftp, Http and Sockets will be shown in output (no LogFoo)
  tag is also printed and it is 'Network' after renaming took place:
Network: Ftp#foo
Network: Http#foo
Network: Sockets#foo

<<<PER_CLASS_CUSTOMIZATION>>> 
- Only logging for Some class is shown in STDOUT
- Run this script again by adding '2>/dev/null' and see the difference:
Some: Some information

<<<RULE_WITH_REGEX>>> 
- The recommended way to specify logging for all classes within same namespace:
foo

<<<SIMPLEST_USAGE>>> 
INFO message
WARNING message

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
tagged_logger-0.5.6 test/expected_examples_output.txt
tagged_logger-0.5.5 test/expected_examples_output.txt
tagged_logger-0.5.1 test/expected_examples_output.txt
tagged_logger-0.5.0 test/expected_examples_output.txt
tagged_logger-0.4.6 test/expected_examples_output.txt
tagged_logger-0.4.5 test/expected_examples_output.txt
tagged_logger-0.4.2 test/expected_examples_output.txt
tagged_logger-0.4.0 test/expected_examples_output.txt
tagged_logger-0.3.3 test/expected_examples_output.txt
tagged_logger-0.3.2 test/expected_examples_output.txt
tagged_logger-0.3.1 test/expected_examples_output.txt
tagged_logger-0.3.0 test/expected_examples_output.txt