Skip to content

Commit d58381c

Browse files
committed
Minor doc changes
1 parent 6c8eb6e commit d58381c

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

docs/Logger API.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,11 @@ This will still work, however it is recommended that you use the numeric values.
133133
</tr>
134134
<tr>
135135
<td>rec_logger_log</td>
136-
<td>For plugins. See <a href="Plugins.md">Plugins documentation</a> for more information and examples.</td>
136+
<td>Consists of:<br />
137+
id (number) <br/>
138+
logger_level (number) </br>
139+
</br>
140+
See <a href="Plugins.md">Plugins documentation</a> for more information and examples.</td>
137141
</tr>
138142
</table>
139143

docs/Plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ To deregister a plugin, set the appropriate ```logger_prefs.pref_value``` to ```
4444
Plugins can either be standalone procedures or a procedure in a package. Plugins must implement the following interface:
4545

4646
```sql
47-
procedure <name_of_procedure(
47+
procedure <name_of_procedure>(
4848
p_rec in logger.rec_logger_log)
4949
```
5050

@@ -110,7 +110,7 @@ Text: hello
110110
They're several important things to know about plugins.
111111

112112
##Recursion
113-
Plugins do not support recursing for the same type of plugin. I.e. when in an error plugin and the plugin code calls ```logger.log_error```, the error plugin will not execute for the recursive call (but the error record is still stored in ```logger.log_error```. This is to avoid infinite loops in the plugin.
113+
Plugins do not support recursing for the same type of plugin. I.e. when in an error plugin and the plugin code calls ```logger.log_error```, the error plugin will not execute for the recursive call (but the second error record is still stored in ```logger_logs```. This is to avoid infinite loops in the plugin.
114114

115115
The following example highlights this (note that ```logger.log_error``` is called in the plugin).
116116

0 commit comments

Comments
 (0)