###### (This is the legacy documentation for SDL2, the previous stable version; [SDL3](https://wiki.libsdl.org/SDL3/) is the current stable version.)
# SDL_MAX_LOG_MESSAGE

The maximum size of a log message prior to SDL 2.0.24

## Header File

Defined in [SDL_log.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_log.h)

## Syntax

```c
#define SDL_MAX_LOG_MESSAGE 4096
```

## Remarks

As of 2.0.24 there is no limit to the length of SDL log messages.

----
[CategoryAPI](CategoryAPI), [CategoryAPIMacro](CategoryAPIMacro), [CategoryLog](CategoryLog)