summaryrefslogtreecommitdiff
path: root/src/lib/defs/logging_types.h
blob: f7876df3b557db214a87ec9cc0ccd3977c4b1f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright (c) 2001, Matej Pfajfar.
 * Copyright (c) 2001-2004, Roger Dingledine.
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2021, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * \file logging_types.h
 *
 * \brief Global definition for types used by logging systems.
 **/

#ifndef TOR_LOGGING_TYPES_H
#define TOR_LOGGING_TYPES_H

/* We define this here so that it can be used both by backtrace.h and
 * log.h.
 */

/** Mask of zero or more log domains, OR'd together. */
typedef uint64_t log_domain_mask_t;

#endif /* !defined(TOR_LOGGING_TYPES_H) */