XPyLIb library commonly configured throw configuration file. It's
sitax see below.
Root package XPyLIB do main initialization and provide some useful
things. The dir_... variables contanes path to place that they
named. It more better use this variables then calculate path youself.
Also you can obtain needed path by using function dir_get().
User configurations, logs and other things are plased in user home
"~/.xpylib/" directory.
int {0755}
|
_mode = 755
Mode for folder creation.
|
str
|
dir_root = ' /home/alex/projects/XPyLIB/XPyLIB '
Absolute path to XPyLIB library.
|
str
|
dir_rootuser = ' /home/alex/.xpylib '
Absolute path to ".xpylib" folder in user directory.
|
str
|
dir_logs = ' /home/alex/.xpylib/logs '
Absolute path to user ".xpylib/logs" folder.
|
str
|
dir_config = ' /home/alex/projects/XPyLIB/XPyLIB/config '
Absolute path to XPyLIB library "config" folder.
|
str
|
dir_configuser = ' /home/alex/.xpylib/config '
Absolute path to user configuration ".xpylib/config"
folder.
|
str
|
dir_xpylib = ' /home/alex/projects/XPyLIB/XPyLIB '
Absolute path to "XPyLIB" folder (default same as dir_root).
|
str
|
log_levelbodychar = ' . '
Character that fill indentation spaces.
|
str
|
log_levelendchar = ' > '
Character that insert before string output but after level
indentation.
|
int
|
log_levelwidth = 2
Number of indentation characters in one indentation level.
|
int
|
log_levelerr = ' *** LEVEL ERROR = '
Error message then level indentation is invalid thrn return from
wrapped function.
|
str
|
log_descfuncall = ' CALL '
Function call description.
|
str
|
log_descfunret = ' RET from '
Function return description.
|