@@ -1147,41 +1147,44 @@ functions.
1147
1147
+--------------+---------------------------------------------+
1148
1148
| Format | Description |
1149
1149
+==============+=============================================+
1150
- | `` filename `` | Specifies that a FileHandler be created, |
1150
+ | * filename * | Specifies that a FileHandler be created, |
1151
1151
| | using the specified filename, rather than a |
1152
1152
| | StreamHandler. |
1153
1153
+--------------+---------------------------------------------+
1154
- | `` filemode `` | Specifies the mode to open the file, if |
1155
- | | filename is specified (if filemode is |
1156
- | | unspecified, it defaults to 'a'). |
1154
+ | * filemode * | If * filename * is specified, open the file |
1155
+ | | in this :ref: ` mode < filemodes >`. Defaults |
1156
+ | | to `` 'a' ``. |
1157
1157
+--------------+---------------------------------------------+
1158
- | `` format `` | Use the specified format string for the |
1158
+ | * format * | Use the specified format string for the |
1159
1159
| | handler. |
1160
1160
+--------------+---------------------------------------------+
1161
- | ``datefmt `` | Use the specified date/time format. |
1161
+ | *datefmt * | Use the specified date/time format, as |
1162
+ | | accepted by :func: `time.strftime `. |
1162
1163
+--------------+---------------------------------------------+
1163
- | ``style `` | If ``format `` is specified, use this style |
1164
- | | for the format string. One of '%', '{' or |
1165
- | | '$' for %-formatting, :meth: `str.format ` or |
1166
- | | :class: `string.Template ` respectively, and |
1167
- | | defaulting to '%' if not specified. |
1164
+ | *style * | If *format * is specified, use this style |
1165
+ | | for the format string. One of ``'%' ``, |
1166
+ | | ``'{' `` or ``'$' `` for :ref: `printf-style |
1167
+ | | <old-string-formatting>`, |
1168
+ | | :meth: `str.format ` or |
1169
+ | | :class: `string.Template ` respectively. |
1170
+ | | Defaults to ``'%' ``. |
1168
1171
+--------------+---------------------------------------------+
1169
- | `` level `` | Set the root logger level to the specified |
1170
- | | level. |
1172
+ | * level * | Set the root logger level to the specified |
1173
+ | | :ref: ` level < levels >`. |
1171
1174
+--------------+---------------------------------------------+
1172
- | `` stream `` | Use the specified stream to initialize the |
1175
+ | * stream * | Use the specified stream to initialize the |
1173
1176
| | StreamHandler. Note that this argument is |
1174
- | | incompatible with ' filename' - if both are |
1175
- | | present, a ``ValueError `` is raised. |
1177
+ | | incompatible with * filename * - if both |
1178
+ | | are present, a ``ValueError `` is raised. |
1176
1179
+--------------+---------------------------------------------+
1177
- | `` handlers `` | If specified, this should be an iterable of |
1180
+ | * handlers * | If specified, this should be an iterable of |
1178
1181
| | already created handlers to add to the root |
1179
1182
| | logger. Any handlers which don't already |
1180
1183
| | have a formatter set will be assigned the |
1181
1184
| | default formatter created in this function. |
1182
1185
| | Note that this argument is incompatible |
1183
- | | with ' filename' or ' stream' - if both are |
1184
- | | present, a ``ValueError `` is raised. |
1186
+ | | with * filename * or * stream * - if both |
1187
+ | | are present, a ``ValueError `` is raised. |
1185
1188
+--------------+---------------------------------------------+
1186
1189
| ``force `` | If this keyword argument is specified as |
1187
1190
| | true, any existing handlers attached to the |
0 commit comments