No Description

AWSDDOSLogger.h 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Software License Agreement (BSD License)
  2. //
  3. // Copyright (c) 2010-2016, Deusty, LLC
  4. // All rights reserved.
  5. //
  6. // Redistribution and use of this software in source and binary forms,
  7. // with or without modification, are permitted provided that the following conditions are met:
  8. //
  9. // * Redistributions of source code must retain the above copyright notice,
  10. // this list of conditions and the following disclaimer.
  11. //
  12. // * Neither the name of Deusty nor the names of its contributors may be used
  13. // to endorse or promote products derived from this software without specific
  14. // prior written permission of Deusty, LLC.
  15. #import <Foundation/Foundation.h>
  16. // Disable legacy macros
  17. #ifndef DD_LEGACY_MACROS
  18. #define DD_LEGACY_MACROS 0
  19. #endif
  20. #import "AWSDDLog.h"
  21. /**
  22. * This class provides a logger for the Apple os_log facility.
  23. **/
  24. API_AVAILABLE(ios(10.0), macos(10.12), tvos(10.0), watchos(3.0))
  25. @interface AWSDDOSLogger : AWSDDAbstractLogger <AWSDDLogger>
  26. /**
  27. * Singleton method
  28. *
  29. * @return the shared instance
  30. */
  31. @property (class, readonly, strong) AWSDDOSLogger *sharedInstance;
  32. @end