[fuchsia] Fix initialisation ordering problem

My previous CL had an initialisation ordering problem. logger had
dynamic initialisation which means it's sensitive to ordering.  This CL
uses a function local static which doesn't have an ordering problem.

Bug: 377963307
Change-Id: Iae19818985ec0887868e90deeae2c0fc1484ece0
1 file changed