Module Expr Str ImportFrom alias alias ImportFrom alias Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad Return Call AttributeLoad Str attr ListLoad AttributeLoad Call NameLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr keyword Call NameLoad SubscriptLoad Call NameLoad Index Num NameLoad decorator_list FunctionDef arguments args defaults kwarg body Expr Str Expr Call AttributeLoad NameLoad attr keyword Call NameLoad SubscriptLoad Call NameLoad Index Num keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return CompareEq Call AttributeLoad NameLoad attr Str NameLoad decorator_list
N/A N/A 
Simple logging utilities for flocker.
 inspect getmodule stack eliot Message N/A _ERROR_TOKEN ERROR _compute_message_type N/A N/A frame_tuple N/A N/A N/A 
    Constructs a human readable message type from a frame of a traceback.

    The resulting string should have the module name, function name, and line
    number encoded so that it is trivial to figure out where the log came from.

    Format of output:

    <module>:<function name>:<line number>

    :param frame_tuple: The stack frame tuple to turn into a message type.
        Should normally be one stack level higher than the function that calls
        this. (i.e. ``inspect.stack()[1]`` )

    :returns unicode: The human readable message_type for a log originating at
        the given stack frame.
     N/A N/A frame _ line func _ _ frame_tuple N/A N/A N/A : join N/A N/A N/A getmodule frame __name__ func N/A unicode line N/A log_info N/A N/A N/A kwargs N/A N/A 
    Simple logging wrapper around Eliot messages.

    This fills in the message type and passes all other arguments on to
    ``Message.log``.
     N/A N/A N/A Message log message_type N/A _compute_message_type N/A N/A stack N/A 1 kwargs N/A log_error N/A N/A N/A kwargs N/A N/A 
    Simple logging wrapper around Eliot messages that should cause acceptance
    tests to fail.

    This fills in the message type, adds a token to indicate it is an error,
    and passes all other arguments on to ``Message.log``.
     N/A N/A N/A Message log message_type N/A _compute_message_type N/A N/A stack N/A 1 level _ERROR_TOKEN kwargs N/A is_error N/A N/A message N/A N/A N/A 
    Determines if the passed in Eliot message was an error message.

    :param dict message: The Eliot message to examine.

    :returns bool: If the passed in message is an error that should fail the
        acceptance tests.
     N/A N/A N/A N/A message get level _ERROR_TOKEN N/A