# `Alaja.Printer.Basics`
[🔗](https://github.com/Lorenzo-SF/alaja/blob/2.1.0/lib/alaja/printer/basics.ex#L1)

Pre-styled message printing with severity icons and ANSI colours.

Provides 12 severity-level functions — success, error, warning, info,
debug, notice, alert, critical, emergency, happy, and sad. Each
prefixes the message with a Unicode icon and applies colour styling
resolved through Pote's theme system.

# `print_alert`

```elixir
@spec print_alert(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints an alert message (inverted warning).

Icon: 🔔 — warning background with bold.

# `print_critical`

```elixir
@spec print_critical(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints a critical message (inverted error).

Icon: 🔥 — error background, bold.

# `print_debug`

```elixir
@spec print_debug(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints a debug message.

Icon: ⚙ — colour: debug (purple/magenta).

# `print_emergency`

```elixir
@spec print_emergency(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints an emergency message.

Icon: 🆘 — error background, bold and blinking.

# `print_error`

```elixir
@spec print_error(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints an error message.

Icon: ✗ — colour: error (red), bold.

# `print_happy`

```elixir
@spec print_happy(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints a happy/positive message.

Icon: ✨ — colour: happy.

# `print_info`

```elixir
@spec print_info(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints an informational message.

Icon: ℹ — colour: cyan.

Accepts printer options (see `Alaja.Printer.print/2`).

# `print_notice`

```elixir
@spec print_notice(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints a notice message.

Icon: 📢 — colour: info.

# `print_sad`

```elixir
@spec print_sad(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints a sad/negative message.

Icon: ❄ — colour: sad.

# `print_success`

```elixir
@spec print_success(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints a success message.

Icon: ✓ — colour: success (green).

# `print_warning`

```elixir
@spec print_warning(
  String.t(),
  keyword()
) :: :ok | String.t()
```

Prints a warning message.

Icon: ⚠ — colour: warning (yellow/orange).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
