1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
4 * Ceph - scalable distributed file system
6 * Copyright (C) 2004-2011 New Dream Network
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.
18 #include "common/dout.h"
20 /* Global version of the stuff in common/dout.h
23 #define dout(v) ldout((dout_context), v)
25 #define pdout(v, p) lpdout((dout_context), v, p)
27 #define dlog_p(sub, v) ldlog_p1((dout_context), sub, v)
29 #define generic_dout(v) lgeneric_dout((dout_context), v)
31 #define derr lderr((dout_context))
33 #define generic_derr lgeneric_derr((dout_context))