def _print_gs_info(it, level, cycmax, grid, norm, text):
    """Print info to log after each Gauss-Seidel smoothing step.

    Parameters
    ----------
    it : int
        Iteration number.

    level : int
        Current coarsening level.

    cycmax : int
        Maximum MG cycles.

    grid : :class:`emg3d.meshes.TensorMesh`
        Input grid.

    norm : float
        Current error (l2-norm).

    text : str
        Info about Gauss-Seidel step.

    """
    info = f'     {it:2} {level} {cycmax} [{grid.nCx:3}, {grid.nCy:3}, '
    info += f'{grid.nCz:3}]: {norm:.3e} {text}'
    print(info)
