log

nutils.log.debug(*args, sep=' ')

Write message to log.

Parameters
  • *args (tuple of str) – Values to be printed to the log.

  • sep (str) – String inserted between values, default a space.

nutils.log.debugfile(name, mode, *, id=None)

Open file in logger-controlled directory.

Parameters
  • filename (str) –

  • mode (str) – Should be either 'w' (text) or 'wb' (binary data).

  • id – Bytes identifier that can be used to decide a priori that a file has already been constructed. Default: None.

nutils.log.error(*args, sep=' ')

Write message to log.

Parameters
  • *args (tuple of str) – Values to be printed to the log.

  • sep (str) – String inserted between values, default a space.

nutils.log.errorfile(name, mode, *, id=None)

Open file in logger-controlled directory.

Parameters
  • filename (str) –

  • mode (str) – Should be either 'w' (text) or 'wb' (binary data).

  • id – Bytes identifier that can be used to decide a priori that a file has already been constructed. Default: None.

nutils.log.info(*args, sep=' ')

Write message to log.

Parameters
  • *args (tuple of str) – Values to be printed to the log.

  • sep (str) – String inserted between values, default a space.

nutils.log.infofile(name, mode, *, id=None)

Open file in logger-controlled directory.

Parameters
  • filename (str) –

  • mode (str) – Should be either 'w' (text) or 'wb' (binary data).

  • id – Bytes identifier that can be used to decide a priori that a file has already been constructed. Default: None.

nutils.log.user(*args, sep=' ')

Write message to log.

Parameters
  • *args (tuple of str) – Values to be printed to the log.

  • sep (str) – String inserted between values, default a space.

nutils.log.userfile(name, mode, *, id=None)

Open file in logger-controlled directory.

Parameters
  • filename (str) –

  • mode (str) – Should be either 'w' (text) or 'wb' (binary data).

  • id – Bytes identifier that can be used to decide a priori that a file has already been constructed. Default: None.

nutils.log.warning(*args, sep=' ')

Write message to log.

Parameters
  • *args (tuple of str) – Values to be printed to the log.

  • sep (str) – String inserted between values, default a space.

nutils.log.warningfile(name, mode, *, id=None)

Open file in logger-controlled directory.

Parameters
  • filename (str) –

  • mode (str) – Should be either 'w' (text) or 'wb' (binary data).

  • id – Bytes identifier that can be used to decide a priori that a file has already been constructed. Default: None.