lo2 - Log Oracle, an Oracle test language for log description and analysis
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lo2-0.5.4.tar.gz.
File metadata
- Download URL: lo2-0.5.4.tar.gz
- Upload date:
- Size: 38.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
593517646b3409ea45b76581f05d97082ad16d9100fb1b4665fddd6af5b8559a
|
|
| MD5 |
a5a6163516ecff8e42e545b522b97a33
|
|
| BLAKE2b-256 |
719a1879cf35eb683e3b2062c204d52928db8ade29addd3682d5b3ba04a71aef
|
File details
Details for the file lo2-0.5.4-py3-none-any.whl.
File metadata
- Download URL: lo2-0.5.4-py3-none-any.whl
- Upload date:
- Size: 44.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87402f834a244ddf7673605dd27ad80c3290bcda9f4bad335508170914625fe4
|
|
| MD5 |
e3ef2b7f5a14518369b3a650c1c505dc
|
|
| BLAKE2b-256 |
56e74204ac0dd4c6b2d270a20fd005bdca346b8d05b28454c30bf88c8e30417b
|