libwinpr/utils/wlog/wlog.h File Reference
#include <winpr/wlog.h>
#include "wlog/Layout.h"
#include "wlog/Appender.h"
This graph shows which files directly or indirectly include this file:

Data Structures

struct  wLogAppender
struct  wLog


#define WLOG_MAX_PREFIX_SIZE   512
#define WLOG_MAX_STRING_SIZE   8192


typedef BOOL(* WLOG_APPENDER_OPEN_FN) (wLog *log, wLogAppender *appender)
typedef BOOL(* WLOG_APPENDER_CLOSE_FN) (wLog *log, wLogAppender *appender)
typedef BOOL(* WLOG_APPENDER_WRITE_MESSAGE_FN) (wLog *log, wLogAppender *appender, wLogMessage *message)
typedef BOOL(* WLOG_APPENDER_WRITE_DATA_MESSAGE_FN) (wLog *log, wLogAppender *appender, wLogMessage *message)
typedef BOOL(* WLOG_APPENDER_WRITE_IMAGE_MESSAGE_FN) (wLog *log, wLogAppender *appender, wLogMessage *message)
typedef BOOL(* WLOG_APPENDER_WRITE_PACKET_MESSAGE_FN) (wLog *log, wLogAppender *appender, wLogMessage *message)
typedef BOOL(* WLOG_APPENDER_SET) (wLogAppender *appender, const char *setting, void *value)
typedef void(* WLOG_APPENDER_FREE) (wLogAppender *appender)


BOOL WLog_Layout_GetMessagePrefix (wLog *log, wLogLayout *layout, wLogMessage *message)

Macro Definition Documentation

DWORD Type; \
BOOL active; \
wLogLayout* Layout; \
BOOL recursive; \
void* TextMessageContext; \
void* DataMessageContext; \
void* ImageMessageContext; \
void* PacketMessageContext; \
BOOL(* WLOG_APPENDER_WRITE_PACKET_MESSAGE_FN)(wLog *log, wLogAppender *appender, wLogMessage *message)
Definition: libwinpr/utils/wlog/wlog.h:34
Definition: include/winpr/synch.h:148
typedef void(__stdcall *cbCallback)(int
BOOL(* WLOG_APPENDER_OPEN_FN)(wLog *log, wLogAppender *appender)
Definition: libwinpr/utils/wlog/wlog.h:29
BOOL(* WLOG_APPENDER_WRITE_IMAGE_MESSAGE_FN)(wLog *log, wLogAppender *appender, wLogMessage *message)
Definition: libwinpr/utils/wlog/wlog.h:33
BOOL(* WLOG_APPENDER_WRITE_DATA_MESSAGE_FN)(wLog *log, wLogAppender *appender, wLogMessage *message)
Definition: libwinpr/utils/wlog/wlog.h:32
BOOL(* WLOG_APPENDER_CLOSE_FN)(wLog *log, wLogAppender *appender)
Definition: libwinpr/utils/wlog/wlog.h:30
BOOL(* WLOG_APPENDER_SET)(wLogAppender *appender, const char *setting, void *value)
Definition: libwinpr/utils/wlog/wlog.h:35
BOOL(* WLOG_APPENDER_WRITE_MESSAGE_FN)(wLog *log, wLogAppender *appender, wLogMessage *message)
Definition: libwinpr/utils/wlog/wlog.h:31
void(* WLOG_APPENDER_FREE)(wLogAppender *appender)
Definition: libwinpr/utils/wlog/wlog.h:36
#define WLOG_MAX_PREFIX_SIZE   512

WinPR: Windows Portable Runtime WinPR Logger

Copyright 2013 Marc-Andre Moreau

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

#define WLOG_MAX_STRING_SIZE   8192

Typedef Documentation

typedef BOOL(* WLOG_APPENDER_CLOSE_FN) (wLog *log, wLogAppender *appender)
typedef void(* WLOG_APPENDER_FREE) (wLogAppender *appender)
typedef BOOL(* WLOG_APPENDER_OPEN_FN) (wLog *log, wLogAppender *appender)
typedef BOOL(* WLOG_APPENDER_SET) (wLogAppender *appender, const char *setting, void *value)
typedef BOOL(* WLOG_APPENDER_WRITE_DATA_MESSAGE_FN) (wLog *log, wLogAppender *appender, wLogMessage *message)
typedef BOOL(* WLOG_APPENDER_WRITE_IMAGE_MESSAGE_FN) (wLog *log, wLogAppender *appender, wLogMessage *message)
typedef BOOL(* WLOG_APPENDER_WRITE_MESSAGE_FN) (wLog *log, wLogAppender *appender, wLogMessage *message)
typedef BOOL(* WLOG_APPENDER_WRITE_PACKET_MESSAGE_FN) (wLog *log, wLogAppender *appender, wLogMessage *message)

Function Documentation

BOOL WLog_Layout_GetMessagePrefix ( wLog *  log,
wLogLayout *  layout,
wLogMessage *  message 

Here is the call graph for this function:

Here is the caller graph for this function: