8201450: Provide access to LogHandle tagset
authorkbarrett
Thu, 12 Apr 2018 15:50:03 -0400
changeset 49759 c154476ce765
parent 49758 4e0aeeec9fa1
child 49760 69bae761600b
8201450: Provide access to LogHandle tagset Summary: Added LogHandle::tagset function. Reviewed-by: stefank
src/hotspot/share/logging/logHandle.hpp
--- a/src/hotspot/share/logging/logHandle.hpp	Thu Apr 12 14:56:27 2018 -0400
+++ b/src/hotspot/share/logging/logHandle.hpp	Thu Apr 12 15:50:03 2018 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -43,6 +43,10 @@
     return _tagset->is_level(level);
   }
 
+  LogTagSet* tagset() const {
+    return _tagset;
+  }
+
 #define LOG_LEVEL(level, name) ATTRIBUTE_PRINTF(2, 0)   \
   LogHandle& v##name(const char* fmt, va_list args) { \
     _tagset->vwrite(LogLevel::level, fmt, args); \