CN116136757A - Log output method and device and electronic equipment - Google Patents

Log output method and device and electronic equipment Download PDF

Info

Publication number
CN116136757A
CN116136757A CN202111369193.4A CN202111369193A CN116136757A CN 116136757 A CN116136757 A CN 116136757A CN 202111369193 A CN202111369193 A CN 202111369193A CN 116136757 A CN116136757 A CN 116136757A
Authority
CN
China
Prior art keywords
log output
function
output function
log
original
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111369193.4A
Other languages
Chinese (zh)
Inventor
徐德明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Cloud Network Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN202111369193.4A priority Critical patent/CN116136757A/en
Publication of CN116136757A publication Critical patent/CN116136757A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides a log output method, a log output device and electronic equipment, wherein the log output method comprises the following steps: acquiring a first log output function corresponding to an original log output function, wherein the original log output function is used for realizing the function of outputting log information to a console, and the first log output function is a user-defined function used for storing the original function of the original log output function; redefining the original log output function according to the first log output function to obtain a second log output function, wherein the second log output function is used for realizing the function of outputting log information to a console and a local storage file under the condition that a log output interface provided by a server is not called; and performing log output processing by using the second log output function. The method can conveniently output the log information to the local storage file under the condition of no need of back-end intervention.

Description

Log output method and device and electronic equipment
Technical Field
The embodiment of the disclosure relates to the technical field of computers, and more particularly relates to a log output method, a log output device, electronic equipment and a computer readable storage medium.
Background
Along with the continuous development of internet technology, the dependence of various industries on the internet technology is deeper and deeper, so that the front-end development technology is continuously improved. Front-end development techniques generally refer to computer technology that creates Web pages using hypertext markup language (HTML, hyperTextMarkupLanguage), cascading style sheets (CSS, cascadingStyleSheets), and JavaScript (JS) programming languages.
At present, aiming at a Web page created by using a front-end development technology, log information is generally output through a log dotting method so as to monitor various functions in the Web page. For example, when a user accesses a Web page or clicks a button of the Web page, the corresponding log information can be transferred to the back end through a call interface, so that the log information is saved in a log file in a log data table or a disk storage of a database, and therefore whether the Web page operates normally can be monitored by the user or the electronic device through analyzing the log information.
However, the method that needs back-end intervention for log output has the problem that on one hand, it is inconvenient, on the other hand, the cross-domain problem needs to be considered generally, and development and deployment costs are easy to increase.
Disclosure of Invention
It is an object of the present disclosure to provide a new solution for log output to facilitate the output of log information into log files without increasing development and deployment costs.
According to a first aspect of the present disclosure, there is provided an embodiment of a log output method, including:
acquiring a first log output function corresponding to an original log output function, wherein the original log output function is used for realizing the function of outputting log information to a console, and the first log output function is a user-defined function used for storing the original function of the original log output function;
redefining the original log output function according to the first log output function to obtain a second log output function, wherein the second log output function is used for realizing the function of outputting log information to a console and a local storage file under the condition that a log output interface provided by a server is not called;
and performing log output processing by using the second log output function.
Optionally, the obtaining a first log output function corresponding to the original log output function includes:
setting the first log output function;
assigning the original log output function to the first log output function.
Optionally, the redefining the original log output function according to the first log output function to obtain a second log output function includes:
filling a first coding instruction and a second coding instruction in a redefined function body of the original output function;
the first coding instruction is used for realizing the function of outputting log information to a console according to the first log output function, and the second coding instruction is used for realizing the function of writing the log information into a local storage file.
Optionally, the first encoding instruction includes:
and outputting log information according to the first log output function by a preset proxy method.
Optionally, the second encoding instruction includes:
and outputting the log information to a command of a local storage file by using a preset file operation function.
Optionally, the preset file operation function includes a writeFileStream function in a file system module of node.js.
Optionally, the preset proxy function includes an apply function in JavaScript programming language.
According to a second aspect of the present disclosure, there is provided an embodiment of a log output device, comprising:
the acquisition module is used for acquiring a first log output function corresponding to an original log output function, wherein the original log output function is used for realizing the function of outputting log information to a console, and the first log output function is a user-defined function used for storing the original function of the original log output function;
the function redefining module is used for redefining the original log output function according to the first log output function to obtain a second log output function, wherein the second log output function is used for realizing the function of outputting log information to a control console and a local storage file under the condition that a log output interface provided by a server is not called;
and the log output processing module is used for performing log output processing by using the second log output function.
According to a third aspect of the present disclosure, there is provided an embodiment of an electronic device, as the apparatus of the second aspect of the present description; or alternatively, the process may be performed,
the electronic device includes:
a memory for storing executable instructions;
and the processor is used for running the electronic equipment according to the control of the instruction to execute the log output method according to the first aspect of the specification.
According to a fourth aspect of the present disclosure, there is provided an embodiment of a computer readable storage medium storing a computer program readable by a computer for performing the log processing method as described in the first aspect of the present specification when being read by the computer.
One beneficial effect of the embodiments of the present disclosure is that, according to the embodiments of the present disclosure, by using the first log output function customized by the user, the original function of the original log output function can be saved; then redefining the original log output function according to the first log output function to obtain a second log output function with the original function and the function of outputting log information to a local storage file; the second log output function can be used without back-end intervention or manual operation, and the function of outputting log information to a local storage file can be realized conveniently on the premise of not losing the original function of the original log output function.
Other features of the present specification and its advantages will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a flow chart of a log output method according to an embodiment of the disclosure.
Fig. 2 is a block schematic diagram of a log output device provided by an embodiment of the present disclosure.
Fig. 3 is a schematic hardware structure of an electronic device according to an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless it is specifically stated otherwise.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any specific values should be construed as merely illustrative, and not a limitation. Thus, other examples of exemplary embodiments may have different values.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the disclosure may be capable of being practiced otherwise than as shown or described herein.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
< method example >
In order to solve the problems of inconvenience and possibly increased development and deployment costs in log output in the Web page in the prior art, an embodiment of the present disclosure provides a log output method, please refer to fig. 1, which is a schematic flow chart of a log output method provided in an embodiment of the present disclosure, where the embodiment may be implemented by an electronic device, and more specifically, may be implemented by a browser in the electronic device or an application program integrated with a browser kernel.
As shown in fig. 1, the log output method of the present embodiment may include the following steps S1100 to S1300, which will be described in detail below.
Step S1100, a first log output function corresponding to an original log output function is obtained, wherein the original log output function is used for realizing a function of outputting log information to a console (console), and the first log output function is a user-defined function used for storing the original function of the original log output function.
The original log output function may be a function that is native in the JS programming language and is used to implement a function of outputting log information to the console of the browser, where the log information output at the console of the browser may also be referred to as debug information.
In a specific implementation, the original log output function may be at least one of error (), log (), info () functions provided by the browser for accessing a Console object of the Console, that is, functions such as Console, error (), console log (), console, info () may be used to output log information of different levels to the Console, where the Console of the browser may also be referred to as a debug Console.
In the embodiments of the present disclosure, the original log output function is illustrated as Console. In the JS programming language, the functions provided by different objects may be referred to as methods, and for example, the function of Console.
The first log output function may be a user-defined function for saving an original function of the original log output function.
In specific implementation, the original function of the original log output function can be assigned to the first log output function through assignment processing, so that the first log output function can save the original function of the first log output function.
That is, in the embodiment of the present disclosure, the obtaining the first log output function corresponding to the original log output function may specifically be: setting the first log output function; assigning the original log output function to the first log output function.
For example, if the original log output function is a cone. Error (), and the first log output function is a cone. Error, the log information can be output to the console through a value assignment process similar to "cone. Error=cone. Error ()", so that the cone. Error saves the original function of the cone. Error (), that is, after the value assignment process, through the cone. Error () function.
After step S1100, step S1200 is executed, and redefining processing is performed on the original log output function according to the first log output function, so as to obtain a second log output function, where the second log output function is used to implement a function of outputting log information to a console and a local storage file without calling a log output interface provided by a server.
After the first log output function storing the original function of the original log output function is obtained through the above steps, in an embodiment of the present disclosure, in order to avoid the problem that the front-end log output processing needs the back-end intervention, specifically, redefining the original log output function is performed, so that the redefined second log output function can conveniently output log information to the local storage file without losing the original function, and how to obtain the second log output function is described in detail below.
In one embodiment, redefining the original log output function according to the first log output function to obtain a second log output function includes: filling a first coding instruction and a second coding instruction in a redefined function body of the original output function; the first coding instruction is used for realizing the function of outputting log information to the console according to the first log output function, and the second coding instruction is used for realizing the function of outputting the log information to a local storage file.
In one embodiment, the first encoded instruction may be: and outputting log information according to the first log output function through a preset proxy method, wherein the preset proxy method can be an apply function in a JS programming language.
An apply function in the JS programming language, i.e., function.apply () can hijack the method of another object and inherit the properties of that object.
Specifically, in an embodiment, the original function of the original log output function is saved by first using the first log output function; then, when redefining the original log function, the first log output function is called by using a manner similar to "first log output function. Apply ()" in its redefined function body, so that the first log output function is replaced in the form of a proxy with the original function realizing the original log output function, that is, the function of outputting log information to the console.
For example, after the assignment process is performed by "cone.myrror=cone.error ()", the cone.myrror can be made to save the original function of the cone.error (); then, in the redefined function body of the control function, log information of the redefined function body can be substituted by the control function by a form similar to "control.
Additionally, the second encoded instruction may be: and outputting the log information to a command of a local storage file by using a preset file operation function, wherein the preset file operation function can be a writeFileStream function in a file system module of node.js.
Js is a platform established based on the chromeJavaScript runtime, and is used for conveniently constructing a network application with high response speed and easy expansion.
Specifically, in an embodiment of the present disclosure, in order to enable a log output process to be conveniently performed, an instruction of a writeFileStream function in a node.js-based file system module (fs module) may be filled in a redefined function body of an original log function to output log information to a local storage file based on the instruction.
For example, the writeFileStream function may be encapsulated by a custom info () function, which may specifically be:
Figure BDA0003361755250000071
for ease of understanding, how to obtain the second log output function is described in the form of a pseudo code, where in the pseudo code described below, the first log output function is denoted by global. Con. Myer, the original log output function is denoted by global. Con. Error, and the redefined global. Con. Error is the second log output function, and the pseudo code may be approximately:
Figure BDA0003361755250000072
Figure BDA0003361755250000081
after the second log output function is obtained through the above processing, step S1300 may be executed, and the log output processing is performed using the second log output function.
Specifically, after the second log output function is obtained by redefining the original log output function through the above processing, the log output processing can be conveniently performed by using the second log output function without back-end intervention and manual operation.
For example, when log information is output to a local storage file by redefining a Console. Error () method and then using the redefined Console. Error (), the log information may be output to both the console and the local storage file.
In summary, according to the log output method provided by the embodiment of the present disclosure, the original function of the original log output function may be saved by using the first log output function customized by the user; then redefining the original log output function according to the first log output function to obtain a second log output function with the original function and the function of outputting log information to a local storage file; the second log output function can be used without back-end intervention or manual operation, and the function of outputting log information to a local storage file can be realized conveniently on the premise of not losing the original function of the original log output function.
< device example >
Fig. 2 is a schematic block diagram of a log output device provided in an embodiment of the present disclosure. As shown in fig. 2, the log output device may include: an acquisition module 2100, a function redefinition module 2200, and a log output processing module 2300.
The obtaining module 2100 is configured to obtain a first log output function corresponding to an original log output function, where the original log output function is used to implement a function of outputting log information to a console, and the first log output function is a function customized by a user and used to save an original function of the original log output function.
In one embodiment, the obtaining module 2100, when obtaining a first log output function corresponding to an original log output function, may be configured to: setting the first log output function; assigning the original log output function to the first log output function.
The function redefining module 2200 is configured to redefine the original log output function according to the first log output function to obtain a second log output function, where the second log output function is configured to implement a function of outputting log information to a console and a local storage file without calling a log output interface provided by a server.
In one embodiment, the function redefinition module 2200 may be configured to redefine the original log output function according to the first log output function to obtain a second log output function: filling a first coding instruction and a second coding instruction in a redefined function body of the original output function; the first coding instruction is used for realizing the function of outputting log information to a console according to the first log output function, and the second coding instruction is used for realizing the function of writing the log information into a local storage file.
In one embodiment, the first encoded instruction may be: and outputting log information according to the first log output function by a preset proxy method.
In one embodiment, the second encoded instruction may be: and outputting the log information to a command of a local storage file by using a preset file operation function.
The log output processing module 2300 is configured to perform log output processing using the second log output function.
< device example >
Fig. 3 is a schematic hardware structure of an electronic device according to an embodiment of the disclosure.
As shown in fig. 3, the electronic device 300 comprises a processor 310 and a memory 320, the memory 320 being for storing an executable computer program, the processor 310 being for performing a method as any of the method embodiments above, according to control of the computer program.
The above modules of the log output device 2000 may be implemented by the processor 310 executing the computer program stored in the memory 320 in this embodiment, or may be implemented by other circuit structures, which are not limited herein.
< computer-readable storage Medium embodiment >
The present embodiment provides a computer-readable storage medium having stored therein executable instructions that, when executed by a processor, perform the method described in any of the method embodiments of the present specification.
One or more embodiments of the present description may be a system, method, and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement aspects of the present description.
The computer readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: portable computer disks, hard disks, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static Random Access Memory (SRAM), portable compact disk read-only memory (CD-ROM), digital Versatile Disks (DVD), memory sticks, floppy disks, mechanical coding devices, punch cards or in-groove structures such as punch cards or grooves having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media, as used herein, are not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., optical pulses through fiber optic cables), or electrical signals transmitted through wires.
The computer readable program instructions described herein may be downloaded from a computer readable storage medium to a respective computing/processing device or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers and/or edge servers. The network interface card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of embodiments of the present description may be assembly instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, c++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present description are implemented by personalizing electronic circuitry, such as programmable logic circuitry, field Programmable Gate Arrays (FPGAs), or Programmable Logic Arrays (PLAs), with state information for computer-readable program instructions, which may execute the computer-readable program instructions.
Various aspects of the present description are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the specification. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable medium having the instructions stored therein includes an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present description. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.
The embodiments of the present specification have been described above, and the above description is illustrative, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvement in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the application is defined by the appended claims.

Claims (10)

1. A log output method, comprising:
acquiring a first log output function corresponding to an original log output function, wherein the original log output function is used for realizing the function of outputting log information to a console, and the first log output function is a user-defined function used for storing the original function of the original log output function;
redefining the original log output function according to the first log output function to obtain a second log output function, wherein the second log output function is used for realizing the function of outputting log information to a console and a local storage file under the condition that a log output interface provided by a server is not called;
and performing log output processing by using the second log output function.
2. The method of claim 1, wherein the obtaining a first log output function corresponding to the original log output function comprises:
setting the first log output function;
assigning the original log output function to the first log output function.
3. The method according to claim 1, wherein redefining the original log output function according to the first log output function to obtain a second log output function includes:
filling a first coding instruction and a second coding instruction in a redefined function body of the original output function;
the first coding instruction is used for realizing the function of outputting log information to a console according to the first log output function, and the second coding instruction is used for realizing the function of writing the log information into a local storage file.
4. A method according to claim 3, wherein the first coded instruction comprises:
and outputting log information according to the first log output function by a preset proxy method.
5. A method according to claim 3, wherein the second coded instruction comprises:
and outputting the log information to a command of a local storage file by using a preset file operation function.
6. The method of claim 5, wherein the preset file operation function comprises a writeFileStream function in a file system module of node. Js.
7. The method of claim 4, wherein the preset proxy function comprises an apply function in JavaScript programming language.
8. A log output device, comprising:
the acquisition module is used for acquiring a first log output function corresponding to an original log output function, wherein the original log output function is used for realizing the function of outputting log information to a console, and the first log output function is a user-defined function used for storing the original function of the original log output function;
the function redefining module is used for redefining the original log output function according to the first log output function to obtain a second log output function, wherein the second log output function is used for realizing the function of outputting log information to a control console and a local storage file under the condition that a log output interface provided by a server is not called;
and the log output processing module is used for performing log output processing by using the second log output function.
9. An electronic device comprising the apparatus of claim 8; or alternatively, the process may be performed,
the electronic device includes:
a memory for storing executable instructions;
a processor for executing the log output method according to any one of claims 1 to 7 by the electronic device according to the control of the instruction.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program readable by a computer for executing the log processing method according to any one of claims 1 to 7 when the computer program is read and executed by the computer.
CN202111369193.4A 2021-11-18 2021-11-18 Log output method and device and electronic equipment Pending CN116136757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111369193.4A CN116136757A (en) 2021-11-18 2021-11-18 Log output method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111369193.4A CN116136757A (en) 2021-11-18 2021-11-18 Log output method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116136757A true CN116136757A (en) 2023-05-19

Family

ID=86333076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111369193.4A Pending CN116136757A (en) 2021-11-18 2021-11-18 Log output method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116136757A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991816A (en) * 2023-09-28 2023-11-03 中化现代农业有限公司 Log output method, device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991816A (en) * 2023-09-28 2023-11-03 中化现代农业有限公司 Log output method, device, electronic equipment and storage medium
CN116991816B (en) * 2023-09-28 2024-01-23 中化现代农业有限公司 Log output method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111639289A (en) Webpage loading method and device
CN111639278B (en) Webpage loading method and device
CN106354483B (en) Data processing method and device and electronic equipment
CN111796823A (en) Method and device for updating page and displaying page and page maintenance system
CN107479868B (en) Interface loading method, device and equipment
US9323728B2 (en) Coordinating the management of the layout and design of portal pages with the management of its associated web content
CN113382083B (en) Webpage screenshot method and device
US20180011933A1 (en) Method, apparatus, and server for generating hotspot content
US10594764B2 (en) Request cache to improve web applications performance
CN110941428B (en) Website creation method and device
CN114895908B (en) Web application expression-based implementation method, system, equipment and storage medium
CN112559934A (en) Page popup display method and device
CN116028028A (en) Request function generation method, device, equipment and storage medium
CN114528269A (en) Method, electronic device and computer program product for processing data
CN116136757A (en) Log output method and device and electronic equipment
CN108664191B (en) System access method and device
CN110020343B (en) Method and device for determining webpage coding format
US9996619B2 (en) Optimizing web crawling through web page pruning
CN109558548B (en) Method for eliminating CSS style redundancy and related product
CN110276056B (en) Document editing method, device, equipment and system
CN112732252A (en) Method and device for dynamically generating UI (user interface) and electronic equipment
CN107665124B (en) Modular JavaScript file processing method, device and server
US12001458B2 (en) Multi-cloud object store access
CN107918552B (en) Light application calling method and device, client device and electronic equipment
CN113724115A (en) Data processing method and server based on online education

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination