@@ -0,0 +1,1034 @@
+# coding: utf-8%0A%22%22%22%0AUse the library 'oslo.log' to configure the logging.%0A%0AApplications should use oslo.log%E2%80%99s configuration functions to register%0Alogging-related configuration options and configure the root and other default%0Aloggers.%0A%0A(1) Call register_options() before parsing command line options.%0A(2) Call set_defaults() before configuring logging.%0A(3) Call setup() to configure logging for the application.%0A%0A## Example%0A%0Aimport sys%0Afrom oslo_log.log import register_options, set_defaults, setup%0A%0A%0Adef set_log(conf, project, args=None, version=%22unknown%22, default_log_levels=None):%0A    # Register the command line and configuration options used by oslo.log.%0A    register_options(conf)%0A%0A    # Set default values for the configuration options used by oslo.log.%0A    set_defaults(default_log_levels=default_log_levels)%0A%0A    # Parse the command line options.%0A    args = args if args else sys.argv%5B1:%5D%0A    conf(args, project=project, version=version)%0A%0A    # Setup logging for the current application.%0A    setup(conf, project, version)%0A%0A%22%22%22%0A

Add the usage of `oslo.log`.