code: def _format_key(self, key):
      s = "{key:^{s}}".format(key=key, s=self._default_cell_size)
      if len(s) > self._default_cell_size:
          return s[: self._default_cell_size - 3] + "..."
      return s
  
imports: from __future__ import print_function
  import os
  import json
  import warnings
  from pathlib import Path
  from .observer import _Tracker
  from .event import Events
  from .util import Colours
label_desc: Use image node_id 7 for calling the ScreenLogger obj's underlying member method code with example usage: obj._format_key(key) and returns: s, unknown