# HG changeset patch
# User kbarrett
# Date 1523562603 14400
# Node ID c154476ce765ad5516624f2a1fccbf706538422a
# Parent  4e0aeeec9fa181f0c01fc0c215727441d7fb5821
8201450: Provide access to LogHandle tagset
Summary: Added LogHandle::tagset function.
Reviewed-by: stefank

diff -r 4e0aeeec9fa1 -r c154476ce765 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); \