IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Removed a print statement from application.py
Change the logging format in logger.py. Instead of showing the asctime in
the message, we now show the logger name. This isn't a web server so the
time really isn't that relevant.
The Logger constructor now has a name parameter which defaults to GAPHOR and
is displayed in the log messages. This way new loggers that are created
can have a name and the messages carry more meaning.
The logger class has a new static attribute - level. This can be set to
apply the logging level globally, for any Logger instances. For now, this
doesn't have an effect since Logger is a singleton. However, this is likely
to change.
initialization.
The major change is that Application now has an option parser for access
to command line options. This means that plugins and services can add command
line options to the parser and have access to their values. This is done
by creating the parser object inside main() and passing it to the application.
The application will then initialize all services before actually parsing
the options. This gives them a chance to add their own.
The imports in __init__.py have also been re-arranged. Logging is now set
when the application is initialized.
The launch() function in __init__.py has been simplified. Instead of passing
a Gaphor file argument, launch() will now ask the Application instance if
there is a Gaphor model to load.
The main() function in __init__.py is also much smaller and simpler now
due to the above changes.