---
name: "al_append_native_text_log"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_append_native_text_log"
---

# al\_append\_native\_text\_log(3)

Allegro 5 API

## NAME

al\_append\_native\_text\_log - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro_native_dialog.h>
  void al_append_native_text_log(ALLEGRO_TEXTLOG *textlog,
     char const *format, ...)
  ```

## DESCRIPTION

Appends a line of text to the message log window and scrolls to the bottom (if the line would not be visible otherwise). This works like printf. A line is continued until you add a newline character.

If the window is NULL then this function will fall back to calling printf. This makes it convenient to support logging to a window or a terminal.
