get_error_messages

pymseed.get_error_messages()[source]

Get all error/warning messages from the libmseed logging registry.

Messages are popped from the registry and returned as a list of strings. After calling this function, the registry will be empty.

Every pymseed entry point clears the registry before it runs (see begin_operation()), so this returns messages from the most recent pymseed operation on the calling thread, not from any operation before it.

When more than max_messages messages have accumulated, libmseed discards the earliest, so a long-running operation returns only its latest diagnostics.

Returns:

A list of error/warning message strings, oldest first. Empty list if no messages.

Return type:

list[str]