lo2 (lo2-lang) - Log Oracle, an Oracle test language for log description and analysis.
lo2 is a domain-specific programming language (DSL) designed to describe log behavior, originating from Oracle testing. By describing log behavior, it analyzes logs to discover actions that violate expected (Oracle) rules.
- Install
python -m pip install lo2
- Quickly Example
python3 -m lo2 -s demo/demo.lo2 -l demo/demo_lo2.log -c
The -s parameter specifies a lo2 source code file, which describes the expected behavior of the log file. The -l parameter specifies demo_lo2.log, a log file being analyzed. This command will output whether demo_lo2.log has experienced unexpected abnormal behavior (Contrary to Oracle)
- Tutorial
Regarding the syntax tutorial for the Lo2 language, we will organize and supplement it later.
- Editor highlighting-syntax plugin
The lo2 language has its own syntax highlighting-syntax plugin, which is available in the vscode, or seach for lo2-highlighter in the extension market.
Metadata
Release files for lo2 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lo2-0.5.4.tar.gz | 38.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lo2-0.5.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 82.4 kB
Release files / lo2-0.5.4.tar.gz
| Download URL | lo2-0.5.4.tar.gz |
|---|---|
| Size | 38.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
593517646b3409ea45b76581f05d97082ad16d9100fb1b4665fddd6af5b8559a
|
|
BLAKE2b-256 checksum How to use checksums |
719a1879cf35eb683e3b2062c204d52928db8ade29addd3682d5b3ba04a71aef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / lo2-0.5.4-py3-none-any.whl
| Download URL | lo2-0.5.4-py3-none-any.whl |
|---|---|
| Size | 44.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87402f834a244ddf7673605dd27ad80c3290bcda9f4bad335508170914625fe4
|
|
BLAKE2b-256 checksum How to use checksums |
56e74204ac0dd4c6b2d270a20fd005bdca346b8d05b28454c30bf88c8e30417b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|