class_docstr: Base nipype config class
class_docstr_tok: ["Base","nipype","config","class"]
docstr: Sets logging directory
  
  This should be the first thing that is done before any nipype class
  with logging is imported.
docstr_tok: ["Sets","logging","directory","This","should","be","the","first","thing","that","is","done","before","any","nipype","class","with","logging","is","imported","."]
code: def set_log_dir(self, log_dir):
      """Sets logging directory
  
      This should be the first thing that is done before any nipype class
      with logging is imported.
      """
      self._config.set("logging", "log_directory", log_dir)
  
imports: import os
  import sys
  import errno
  import atexit
  from warnings import warn
  from looseversion import LooseVersion
  import configparser
  import numpy
  from simplejson import load, dump
  from .misc import str2bool
  from filelock import SoftFileLock
label_desc: Use image node_id 5 for calling the NipypeConfig obj's underlying member method code with example usage: obj.set_log_dir(log_dir) without return types