logging: add a small example program
authorAdam Simpkins <simpkins@fb.com>
Tue, 20 Jun 2017 18:01:53 +0000 (11:01 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 20 Jun 2017 18:06:44 +0000 (11:06 -0700)
commit1b5a7dbf79e5cbcb0e99d7d37b87d158cc7a4e6d
treee12088d1c59c8a372912f06b235cfa202fd979e8
parentac6751e607e4a0fbe2d13cecddf0ae3136077a43
logging: add a small example program

Summary:
This adds a small example program which demonstrates using the logging library.

This gives a very basic example of how the library is intended to be used, and
can also be used to play around with controlling the log levels from the
command line argument.

Reviewed By: wez

Differential Revision: D5083104

fbshipit-source-id: ab09c6c88db33065f6e39f35b28014f2a6153cef
.gitignore
folly/configure.ac
folly/experimental/logging/Makefile.am
folly/experimental/logging/example/Makefile.am [new file with mode: 0644]
folly/experimental/logging/example/lib.cpp [new file with mode: 0644]
folly/experimental/logging/example/lib.h [new file with mode: 0644]
folly/experimental/logging/example/main.cpp [new file with mode: 0644]