YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Label

Global Functions

Info:

File: modules/ALog.ycp Package: YaST2 Summary: Admin's Log, producing a summary of what YaST did to the system Authors: Martin Vidner

$Id$ 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");

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