Earl.... I suffered a devastating divorce mid-career, and my Chief Pilot, knowing about it, offered me time off. I rejected the offer and asked him not to unilaterally ground me.
I explained that although my personal life was dissolving outside my control, my job, that I loved and felt totally in control of, was the only stable rock that I could relate to at the time, and to sit at home moping would be disastrous.
Consequently I continued flying and with colleagues who were sympathetic, understanding, and supportive and with whom I could relate to, who helped me through it.
I shudder to think how a bureaucratic system of shrink "experts" would have dealt with it if the C/Pilot had insisted on transparency for the sake of the gutter Press. ( X is an unknown quantity and a 'spurt' is a drip under pressure - but then you know that )
I don't think I would have been writing this 35 years later !