]> git.proxmox.com Git - ceph.git/blame - ceph/src/common/debug.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / common / debug.h
CommitLineData
7c673cae
FG
1// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2// vim: ts=8 sw=2 smarttab
3/*
4 * Ceph - scalable distributed file system
5 *
6 * Copyright (C) 2004-2011 New Dream Network
7 *
8 * This is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License version 2.1, as published by the Free Software
11 * Foundation. See file COPYING.
12 *
13 */
14
15#ifndef CEPH_DEBUG_H
16#define CEPH_DEBUG_H
17
18#include "common/dout.h"
19
20/* Global version of the stuff in common/dout.h
21 */
22
11fdf7f2 23#define dout(v) ldout((dout_context), (v))
7c673cae 24
11fdf7f2 25#define pdout(v, p) lpdout((dout_context), (v), (p))
7c673cae 26
11fdf7f2 27#define dlog_p(sub, v) ldlog_p1((dout_context), (sub), (v))
7c673cae 28
11fdf7f2 29#define generic_dout(v) lgeneric_dout((dout_context), (v))
7c673cae
FG
30
31#define derr lderr((dout_context))
32
33#define generic_derr lgeneric_derr((dout_context))
34
35#endif