OLD | NEW |
1 # Copyright (C) 2010 Chris Jerdonek (cjerdonek@webkit.org) | 1 # Copyright (C) 2010 Chris Jerdonek (cjerdonek@webkit.org) |
2 # | 2 # |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions | 4 # modification, are permitted provided that the following conditions |
5 # are met: | 5 # are met: |
6 # 1. Redistributions of source code must retain the above copyright | 6 # 1. Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # 2. Redistributions in binary form must reproduce the above copyright | 8 # 2. Redistributions in binary form must reproduce the above copyright |
9 # notice, this list of conditions and the following disclaimer in the | 9 # notice, this list of conditions and the following disclaimer in the |
10 # documentation and/or other materials provided with the distribution. | 10 # documentation and/or other materials provided with the distribution. |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 handlers = _default_handlers(stream, logging_level) | 99 handlers = _default_handlers(stream, logging_level) |
100 | 100 |
101 logger.setLevel(logging_level) | 101 logger.setLevel(logging_level) |
102 | 102 |
103 for handler in handlers: | 103 for handler in handlers: |
104 logger.addHandler(handler) | 104 logger.addHandler(handler) |
105 | 105 |
106 _log.debug("Debug logging enabled.") | 106 _log.debug("Debug logging enabled.") |
107 | 107 |
108 return handlers | 108 return handlers |
OLD | NEW |