public static LogMetadata of ( String key , Object value ) { Map < String , Object > map = new HashMap <> ( ) ; map . put ( key , value ) ; return new LogMetadata ( map ) ; }
Create a new metadata marker with a single key - value pair .