Name

log message, logmessage, kPMLogMessage

Synopsis

log message structure { Facility, Host, Sender, Level, Time, Message };
Facility : string, default
Host : string
Sender : string
Level : string, choice
Time : string
Message : string

Description

Fields

Facility.

Facility is a string. If Facility is omitted, the default uk.co.dssw.powermanager is used.

Host.

Host is a string.

Sender.

Sender is a string.

Level.

Level is a string. Level must be one of the following eight constants:

  • emergency, kPMLogMessageLevel_Emergency.
  • alert, kPMLogMessageLevel_Alert.
  • critical, kPMLogMessageLevel_Critical.
  • error, kPMLogMessageLevel_Error.
  • warning, kPMLogMessageLevel_Warning.
  • notice, kPMLogMessageLevel_Notice.
  • information, kPMLogMessageLevel_Information.
  • debug, kPMLogMessageLevel_Debug.

Time.

Time is a string.

Message.

Message is a string.