|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.logging.util.LoggerMonitor
@Deprecated public class LoggerMonitor
LoggerMonitor - convenience class, used to format and output log messages destined
for the Application Monitor.
Typically a LoggerInterface
object is obtained from the
LoggingServiceInterface
, and that LoggerInterface
object is passed to the constructor
for this class. The LoggerMonitor.log() methods are then used to output messages.
Each of the log() methods takes a number of name/value pairs as parameters,
and provides the required formatting for an Application Monitor log message.
Additionally, one log
method is available that takes
a String array as a parameter, to handle the case where more than 12 name/value
pairs are in the ApplicationMonitor message.
Constructor Summary | |
---|---|
LoggerMonitor(LoggerInterface log)
Deprecated. Constructor. |
Constructor Detail |
---|
public LoggerMonitor(LoggerInterface log)
log
- a LoggerInterface
object that messages
will be logged on.Method Detail |
---|
public void log(java.lang.String[] args)
args
- array of name/value pairs for the monitor message.public static final java.lang.String createLogMessage(java.lang.String[] args) throws java.lang.IllegalArgumentException
args
- Array of name/value pairs for the monitor message.
java.lang.IllegalArgumentException
- if a null
array or
an array with an odd number of elements is specified.public void log(java.lang.String name, java.lang.String value)
name
- name of a name/value pair.value
- value of a name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3, java.lang.String name4, java.lang.String value4)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.name4
- Name of the fifth name/value pair.value4
- Value of the fifth name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3, java.lang.String name4, java.lang.String value4, java.lang.String name5, java.lang.String value5)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.name4
- Name of the fifth name/value pair.value4
- Value of the fifth name/value pair.name5
- Name of the sixth name/value pair.value5
- Value of the sixth name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3, java.lang.String name4, java.lang.String value4, java.lang.String name5, java.lang.String value5, java.lang.String name6, java.lang.String value6)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.name4
- Name of the fifth name/value pair.value4
- Value of the fifth name/value pair.name5
- Name of the sixth name/value pair.value5
- Value of the sixth name/value pair.name6
- Name of the seventh name/value pair.value6
- Value of the seventh name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3, java.lang.String name4, java.lang.String value4, java.lang.String name5, java.lang.String value5, java.lang.String name6, java.lang.String value6, java.lang.String name7, java.lang.String value7)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.name4
- Name of the fifth name/value pair.value4
- Value of the fifth name/value pair.name5
- Name of the sixth name/value pair.value5
- Value of the sixth name/value pair.name6
- Name of the seventh name/value pair.value6
- Value of the seventh name/value pair.name7
- Name of the eighth name/value pair.value7
- Value of the eighth name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3, java.lang.String name4, java.lang.String value4, java.lang.String name5, java.lang.String value5, java.lang.String name6, java.lang.String value6, java.lang.String name7, java.lang.String value7, java.lang.String name8, java.lang.String value8)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.name4
- Name of the fifth name/value pair.value4
- Value of the fifth name/value pair.name5
- Name of the sixth name/value pair.value5
- Value of the sixth name/value pair.name6
- Name of the seventh name/value pair.value6
- Value of the seventh name/value pair.name7
- Name of the eighth name/value pair.value7
- Value of the eighth name/value pair.name8
- Name of the ninth name/value pair.value8
- Value of the ninth name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3, java.lang.String name4, java.lang.String value4, java.lang.String name5, java.lang.String value5, java.lang.String name6, java.lang.String value6, java.lang.String name7, java.lang.String value7, java.lang.String name8, java.lang.String value8, java.lang.String name9, java.lang.String value9)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.name4
- Name of the fifth name/value pair.value4
- Value of the fifth name/value pair.name5
- Name of the sixth name/value pair.value5
- Value of the sixth name/value pair.name6
- Name of the seventh name/value pair.value6
- Value of the seventh name/value pair.name7
- Name of the eighth name/value pair.value7
- Value of the eighth name/value pair.name8
- Name of the ninth name/value pair.value8
- Value of the ninth name/value pair.name9
- Name of the tenth name/value pair.value9
- Value of the tenth name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3, java.lang.String name4, java.lang.String value4, java.lang.String name5, java.lang.String value5, java.lang.String name6, java.lang.String value6, java.lang.String name7, java.lang.String value7, java.lang.String name8, java.lang.String value8, java.lang.String name9, java.lang.String value9, java.lang.String name10, java.lang.String value10)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.name4
- Name of the fifth name/value pair.value4
- Value of the fifth name/value pair.name5
- Name of the sixth name/value pair.value5
- Value of the sixth name/value pair.name6
- Name of the seventh name/value pair.value6
- Value of the seventh name/value pair.name7
- Name of the eighth name/value pair.value7
- Value of the eighth name/value pair.name8
- Name of the ninth name/value pair.value8
- Value of the ninth name/value pair.name9
- Name of the tenth name/value pair.value9
- Value of the tenth name/value pair.name10
- Name of the eleventh name/value pair.value10
- Value of the eleventh name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3, java.lang.String name4, java.lang.String value4, java.lang.String name5, java.lang.String value5, java.lang.String name6, java.lang.String value6, java.lang.String name7, java.lang.String value7, java.lang.String name8, java.lang.String value8, java.lang.String name9, java.lang.String value9, java.lang.String name10, java.lang.String value10, java.lang.String name11, java.lang.String value11)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.name4
- Name of the fifth name/value pair.value4
- Value of the fifth name/value pair.name5
- Name of the sixth name/value pair.value5
- Value of the sixth name/value pair.name6
- Name of the seventh name/value pair.value6
- Value of the seventh name/value pair.name7
- Name of the eighth name/value pair.value7
- Value of the eighth name/value pair.name8
- Name of the ninth name/value pair.value8
- Value of the ninth name/value pair.name9
- Name of the tenth name/value pair.value9
- Value of the tenth name/value pair.name10
- Name of the eleventh name/value pair.value10
- Value of the eleventh name/value pair.name11
- Name of the twelth name/value pair.value11
- Value of the twelth name/value pair.public void log(java.lang.String name0, java.lang.String value0, java.lang.String name1, java.lang.String value1, java.lang.String name2, java.lang.String value2, java.lang.String name3, java.lang.String value3, java.lang.String name4, java.lang.String value4, java.lang.String name5, java.lang.String value5, java.lang.String name6, java.lang.String value6, java.lang.String name7, java.lang.String value7, java.lang.String name8, java.lang.String value8, java.lang.String name9, java.lang.String value9, java.lang.String name10, java.lang.String value10, java.lang.String name11, java.lang.String value11, java.lang.String name12, java.lang.String value12)
name0
- Name of the first name/value pair.value0
- Value of the first name/value pair.name1
- Name of the second name/value pair.value1
- Value of the second name/value pair.name2
- Name of the third name/value pair.value2
- Value of the third name/value pair.name3
- Name of the fourth name/value pair.value3
- Value of the fourth name/value pair.name4
- Name of the fifth name/value pair.value4
- Value of the fifth name/value pair.name5
- Name of the sixth name/value pair.value5
- Value of the sixth name/value pair.name6
- Name of the seventh name/value pair.value6
- Value of the seventh name/value pair.name7
- Name of the eighth name/value pair.value7
- Value of the eighth name/value pair.name8
- Name of the ninth name/value pair.value8
- Value of the ninth name/value pair.name9
- Name of the tenth name/value pair.value9
- Value of the tenth name/value pair.name10
- Name of the eleventh name/value pair.value10
- Value of the eleventh name/value pair.name11
- Name of the twelth name/value pair.value11
- Value of the twelth name/value pair.name12
- Name of the thirteenth name/value pair.value12
- Value of the thirteenth name/value pair.public boolean isLoggingEnabled()
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |