Class LogManager


  • public class LogManager
    extends java.lang.Object
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • LogManager

        public LogManager()
    • Method Detail

      • getLogManager

        public static LogManager getLogManager()
      • getLogger

        public Logger getLogger​(java.lang.String name)
      • getProperty

        public java.lang.String getProperty​(java.lang.String name)
      • getProperty

        public java.lang.String getProperty​(java.lang.String prefix,
                                            java.lang.String name)
      • getProperty

        public java.lang.String getProperty​(java.lang.String prefix,
                                            java.lang.String name,
                                            java.lang.String defaultValue)
      • getIntProperty

        public int getIntProperty​(java.lang.String prefix,
                                  java.lang.String name,
                                  int defaultValue)
      • getBooleanProperty

        public boolean getBooleanProperty​(java.lang.String prefix,
                                          java.lang.String name,
                                          boolean defaultValue)
      • publish

        public void publish​(LogRecord record)
      • readConfiguration

        public void readConfiguration()
                               throws java.util.MissingResourceException
        Throws:
        java.util.MissingResourceException
      • readConfiguration

        public void readConfiguration​(java.io.InputStream iStream)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • reset

        public void reset()
      • getLoggerNames

        public java.util.Enumeration getLoggerNames()
      • generateLogSettingError

        public static void generateLogSettingError​(java.lang.Exception ex)
        A generic method to display an exception generated while setting logging defaults. It will display it on the output console
        Parameters:
        ex - The exception originally raised.