More tests. Changed interface.

Renamed logger_t to struct_logger_t.
Use logger_t for strings.