YaST2 |
modules/ALog.ycp |
Admin's Log, producing a summary of what YaST did to the system | |
|
|
This module has an unstable interface. |
FATE#303700
TODO stability tag.
ALog::Item("/etc/ntp.conf: added 'server ntp.example.org'"); ALog::Item("enabled /etd/init.d/ntp"); ALog::Item("started /etd/init.d/ntp"); ALog::CommitPopup(); ALog::Note("set up ntp from local server"); Imports
Global Functions |
global
Item (string msg)
->
void
Log a change to the system from the system point of view. msg should include the file being changed, and what changes are made (TODO: with all detail? or summary?) Example "/etc/ntp.conf: added 'server ntp.example.org'"
- Parameters:
-
msg message
global
Note (string msg)
->
void
Log a change to the system from the human point of view. (It will appear slightly differently in the log) Example "get proper time from the corporate time server as requested in ticket bofh#327"
- Parameters:
-
msg message
global
CommitPopup ()
->
void
Prompt the user for a message to describe the changes that she did using YaST, logs it using Note