Skip to content

Commit a01fb50

Browse files
committed
Add stream handler to logger in sig.py
Signed-off-by: andrew000 <[email protected]>
1 parent 44ef24a commit a01fb50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
import oqs
77

8-
logging.basicConfig(format="%(asctime)s %(message)s", level=logging.INFO)
98
logger = logging.getLogger(__name__)
109
logger.setLevel(logging.INFO)
10+
logger.addHandler(logging.StreamHandler())
1111

1212
logger.info("liboqs version: %s", oqs.oqs_version())
1313
logger.info("liboqs-python version: %s", oqs.oqs_python_version())

0 commit comments

Comments
 (0)