Back to project page shareplay.
The source code is released under:
Copyright (c) 2014, Benjamin Damer All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
If you think the Android project shareplay listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.afqa123.log; /*ww w .j a v a 2 s . co m*/ import com.afqa123.shareplay.BuildConfig; public class LoggerFactory { public static Logger getLogger(@SuppressWarnings("rawtypes") Class claz) { if (BuildConfig.DEBUG) { return new DefaultLogger(claz.getName()); } else { return new NullLogger(); } } }