You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
# FOSSLight Util
2
2
3
-
<imgsrc="https://img.shields.io/badge/license-Apache--2.0-orange.svg"alt="FOSSLight Util is released under the Apache-2.0." /> <imgsrc="https://img.shields.io/badge/pypi-v1.0-brightgreen.svg"alt="Current python package version." /> <imgsrc="https://img.shields.io/badge/python-3.6+-blue.svg" />
3
+
<imgsrc="https://img.shields.io/pypi/l/fosslight_util"alt="FOSSLight Util is released under the Apache-2.0." /> <imgsrc="https://img.shields.io/pypi/v/fosslight_util"alt="Current python package version." /> <imgsrc="https://img.shields.io/pypi/pyversions/fosslight_util" />
4
4
5
5
It is a package that supports common utils used by FOSSLight Scanner.
6
6
7
7
## Features
8
8
1. It simplifies the logger setup.
9
9
2. It easily outputs csv file and excel file in OSS Report format.
10
10
3. It provides a simple function to create a text file.
### 4. Load common constant (tests/_print_log_with_another_logger.py)
79
+
```
80
+
import fosslight_util.constant as constant
81
+
82
+
83
+
logger = logging.getLogger(constant.LOGGER_NAME)
84
+
logger.warning("Get a logger after init_log is called once.")
85
+
```
86
+
76
87
## 👏 How to report issue
77
88
78
89
Please report any ideas or bugs to improve by creating an issue in [fosslight_util repository][cl]. Then there will be quick bug fixes and upgrades. Ideas to improve are always welcome.
0 commit comments