Skip to content

Commit

Permalink
YMLog now only enabled in DEBUG (previous check only valid within the
Browse files Browse the repository at this point in the history
Yahoo iOS environment.
  • Loading branch information
adamkaplan committed Aug 9, 2015
1 parent 6cba454 commit 77298b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion YMCache/YMLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Licensed under the terms of the MIT License. See LICENSE file in the project root.

//compile out any logging for production builds
#ifdef DISTRIBUTION
#ifndef DEBUG

// no-op both YFLog and NSLog in release mode
#define YMLog_(lvl, fmt, ...) NSLog
Expand Down

0 comments on commit 77298b8

Please sign in to comment.