summaryrefslogtreecommitdiff
path: root/libsoup/soup-logger.h
diff options
context:
space:
mode:
authorJonh Wendell <jonh.wendell@redhat.com>2016-07-12 21:39:13 -0300
committerJonh Wendell <jonh.wendell@redhat.com>2016-07-12 21:39:13 -0300
commit2ac4f2790cbcd415855546a0c26e9d9f6c0df7e4 (patch)
tree51f28074123e2c37914964a90d3163f0f5e864b0 /libsoup/soup-logger.h
parentecce791a3f026d495e41dc20b89f833ba262b9b0 (diff)
downloadlibsoup-2ac4f2790cbcd415855546a0c26e9d9f6c0df7e4.tar.gz
soup-logger: Allow logger to be effectively used by bindings
By creating the properties level and max-body-size. Closes #768053.
Diffstat (limited to 'libsoup/soup-logger.h')
-rw-r--r--libsoup/soup-logger.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsoup/soup-logger.h b/libsoup/soup-logger.h
index ef9172d9..df4a347f 100644
--- a/libsoup/soup-logger.h
+++ b/libsoup/soup-logger.h
@@ -52,6 +52,9 @@ typedef void (*SoupLoggerPrinter) (SoupLogger *logger,
SOUP_AVAILABLE_IN_2_4
GType soup_logger_get_type (void);
+#define SOUP_LOGGER_LEVEL "level"
+#define SOUP_LOGGER_MAX_BODY_SIZE "max-body-size"
+
SOUP_AVAILABLE_IN_2_4
SoupLogger *soup_logger_new (SoupLoggerLogLevel level,
int max_body_size);