Home | History | Annotate | Download | only in src

Lines Matching defs:buffer

40   char buffer[4096];
47 length = strftime(buffer, sizeof(buffer), "%Y/%m/%d-%H:%M:%S(%Z) ",
49 LOGGER_ASSERT(length); // Catch if the buffer is set too small.
51 length += vsnprintf(buffer + length, sizeof(buffer) - length, format, args);
52 if (length >= sizeof(buffer)) {
53 length = sizeof(buffer);
54 buffer[sizeof(buffer) - 1] = '\n';
56 QueueLogLine(new string(buffer, length));