summary refs log blame commit diff
path: root/devices/src/usb/log.rs
blob: 4cb906b041e7619f387d7d43539850ef769d27d2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                                         

                                      
                                        
         
      
 
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// TODO(jkwang) remove this macro once we have a proper tracing system.
#[macro_export]
macro_rules! usb_debug {
    ($($args:tt)+) => {
        // Set true to enable logging.
        if false {
            sys_util::debug!($($args)*);
        }
    };
}