Skip to main content Skip to complementary content

Log management methods

The following methods can be used to write messages to the Replicate log files.

Information note
  • To see messages in the log, you also need to set the "ADDONS" component (in the task's Log Settings) to the relevant logging level.

  • Pointers should use %pp in the strFormat

log_error

Writes errors to the log.

Syntax

log_error (const char *strFormat, ...); 

Parameters

log_error parameters
Parameter Type Description

strFormat

char

The error msg format.

log_warning

Writes warnings to the log.

Syntax

log_warning (const char *strFormat, ...); 

Parameters

log_warning parameters
Parameter Type Description

strFormat

char

The warning message format.

log_trace

Writes trace messages to the log.

Syntax

log_trace(const char *strFormat, ...); 

Parameters

log_trace parameters
Parameter Type Description

strFormat

char

The trace message format.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!