Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

python-source: specify class() as string #67

Merged
merged 1 commit into from
Aug 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chapters/chapter_5/section_6.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ In this example: the python source will a test message in every second.
@version: 3.21

log {
source { python(class(PySource) options("freq" "1") flags(no-parse)); };
source { python(class("PySource") options("freq" "1") flags(no-parse)); };
destination { file(/dev/stdout); };
};

Expand Down Expand Up @@ -176,7 +176,7 @@ In this example, we will use python `AsyncIO` library to run an eventloop. Event
@version: 3.21

log {
source { python(class(PySource) flags(no-parse)); };
source { python(class("PySource") flags(no-parse)); };
destination { file(/dev/stdout); };
};

Expand Down