summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShapeCollection.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLShapeCollection.mm')
-rw-r--r--platform/darwin/src/MGLShapeCollection.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLShapeCollection.mm b/platform/darwin/src/MGLShapeCollection.mm
index 5db1ee335c..5a0ef03340 100644
--- a/platform/darwin/src/MGLShapeCollection.mm
+++ b/platform/darwin/src/MGLShapeCollection.mm
@@ -2,6 +2,7 @@
#import "MGLShape_Private.h"
#import "MGLFeature.h"
+#import "MGLLoggingConfiguration_Private.h"
#import <mbgl/style/conversion/geojson.hpp>
@@ -12,6 +13,7 @@
}
- (instancetype)initWithShapes:(NSArray<MGLShape *> *)shapes {
+ MGLLogDebug(@"Initializing with %lu shapes.", (unsigned long)shapes.count);
if (self = [super init]) {
_shapes = shapes.copy;
}
@@ -19,6 +21,7 @@
}
- (instancetype)initWithCoder:(NSCoder *)decoder {
+ MGLLogInfo(@"Initializing with coder.");
if (self = [super initWithCoder:decoder]) {
_shapes = [decoder decodeObjectOfClass:[NSArray class] forKey:@"shapes"];
}