We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7a1df commit 37eb0c6Copy full SHA for 37eb0c6
v2/recipes.md
@@ -0,0 +1,22 @@
1
+# SSHScript v2.0 Recipes
2
+
3
+Last Updated on 2023/10/20
4
5
+<div style="text-align:right;position:relative;top:-140px"><a href="./index">Back to Index</a></div>
6
7
+## Topics
8
9
+* [Execute commands: one-dollar ($)](#one-dolar)
10
+* [Execute shell commands: two-dollars($$)](#two-dolars)
11
+* [Invoke an interactive console: with-dollar(with $)](#with-dollar)
12
13
+## 🔵 <a name="one-dollar"></a>Setup Logger
14
+```
15
+import logging
16
+logger = logging.getLogger('mylogger')
17
+## ... do whatever you want to do with the logger ...
18
+import sshscript
19
+sshscript.setupLogger(logger)
20
21
22
0 commit comments