Skip to content

Commit

Permalink
updating gh-pages repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Hsin Yuan Yeh authored and Hsin Yuan Yeh committed Oct 27, 2023
1 parent 4c7a1df commit 37eb0c6
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions v2/recipes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SSHScript v2.0 Recipes

Last Updated on 2023/10/20

<div style="text-align:right;position:relative;top:-140px"><a href="./index">Back to Index</a></div>

## Topics

* [Execute commands: one-dollar ($)](#one-dolar)
* [Execute shell commands: two-dollars($$)](#two-dolars)
* [Invoke an interactive console: with-dollar(with $)](#with-dollar)

## 🔵 <a name="one-dollar"></a>Setup Logger
```
import logging
logger = logging.getLogger('mylogger')
## ... do whatever you want to do with the logger ...
import sshscript
sshscript.setupLogger(logger)
```


0 comments on commit 37eb0c6

Please sign in to comment.