Source code for plaso.output.null

# -*- coding: utf-8 -*-
"""Null device output module."""

from __future__ import unicode_literals

from plaso.output import interface
from plaso.output import manager


[docs]class NullOutputModule(interface.OutputModule): """Null device output module.""" NAME = 'null' DESCRIPTION = 'Output module that does not output anything.' # pylint: disable=unused-argument
[docs] def WriteEventBody(self, event, event_data, event_tag): """Writes event values to the output. Args: event (EventObject): event. event_data (EventData): event data. event_tag (EventTag): event tag. """ return
manager.OutputManager.RegisterOutput(NullOutputModule)