Did you know ... Search Documentation:
Pack log4p -- prolog/log4p.pl
PublicShow source

Re-exported predicates

The following predicates are re-exported from other modules

 debug(+Topic) is det
 nodebug(+Topic) is det
Add/remove a topic from being printed. nodebug(_) removes all topics. Gives a warning if the topic is not defined unless it is used from a directive. The latter allows placing debug topics at the start of a (load-)file without warnings.

For debug/1, Topic can be a term Topic > Out, where Out is either a stream or stream-alias or a filename (atom). This redirects debug information on this topic to the given output.

 sin(+Angle, -Sine) is det
 cos(+Angle, -Cosine) is det
 tan(+Angle, -Tangent) is det
 log(+X, -NatLog) is det
 log10(+X, -Log) is det
 pow(+X, +Y, -Pow) is det
 ceiling(+X, -Value) is det
 floor(+X, -Value) is det
 round(+X, -Value) is det
 sqrt(+X, -Value) is det
 acos(+X, -Value) is det
 asin(+X, -Value) is det
 atan(+X, -Value) is det
 atan2(+Y, +X, -Value) is det
 sign(+X, -Value) is det
Math library predicates. SWI-Prolog (and ISO) support these as functions under is/2, etc.
deprecated
- Do not use these predicates except for compatibility reasons.
Compatibility
- Quintus Prolog.

Undocumented predicates

The following predicates are exported, but not or incorrectly documented.

 fatal(Arg1)
 error(Arg1)
 warn(Arg1)
 info(Arg1)
 trace(Arg1)
 fatal(Arg1, Arg2)
 error(Arg1, Arg2)
 warn(Arg1, Arg2)
 info(Arg1, Arg2)
 debug(Arg1, Arg2)
 trace(Arg1, Arg2)
 set_log_level(Arg1, Arg2)
 log_levels(Arg1)
 add_log_handler(Arg1)
 remove_log_handler(Arg1)
 logf(Arg1, Arg2, Arg3)