mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- Better stdout output
This commit is contained in:
parent
5126318719
commit
1c152bb945
1 changed files with 2 additions and 2 deletions
|
@ -22,9 +22,9 @@ class LogStash::Outputs::Stdout < LogStash::Outputs::Base
|
|||
public
|
||||
def receive(event)
|
||||
if @debug
|
||||
ap event
|
||||
ap event.to_hash
|
||||
else
|
||||
puts event
|
||||
puts event.to_s
|
||||
end
|
||||
end # def event
|
||||
end # class LogStash::Outputs::Stdout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue