MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / logPngError

Function logPngError

source/core/StarImage.cpp:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace Star {
7
8void logPngError(png_structp png_ptr, png_const_charp c) {
9 Logger::debug("PNG error in file: '{}', {}", ((IODevice*)png_get_error_ptr(png_ptr))->deviceName(), c);
10};
11
12void logPngWarning(png_structp png_ptr, png_const_charp c) {
13 Logger::debug("PNG warning in file: '{}', {}", ((IODevice*)png_get_error_ptr(png_ptr))->deviceName(), c);

Callers

nothing calls this directly

Calls 1

deviceNameMethod · 0.45

Tested by

no test coverage detected